1
0
mirror of https://github.com/aap/pdp6.git synced 2026-01-16 16:29:24 +00:00
aap.pdp6/test.s
2016-04-18 01:33:40 +02:00

34 lines
424 B
ArmAsm

APR = 0
PI = 4
PI_RESET = 10000
PI_SET_PIR = 4000
PI_SET_PIO = 2000
PI_CLR_PIO = 1000
PI_CLR_ACT = 400
PI_SET_ACT = 200
. = 1000
# CONI PI,1
# CONO PI,PI_RESET
# CONO PI,PI_SET_ACT|PI_SET_PIO|177
# DATAO APR,APR_PR_RLR
# DATAI APR,2
# CONI APR,1
# BLKI APR,TEST
# JRST 4,
# JRST .-2
MOVE 0,BLTTEST
BLT 0,BLTSPC+17
JRST 4,
TEST:
-5,,TEST+1
. = . + 10
BLTSPC:
. = . + 20
APR_PR_RLR:
321321123123
BLTTEST:
1,,BLTSPC