110 lines
1.5 KiB
Text
110 lines
1.5 KiB
Text
NAME=pic regs
|
|
FILE=
|
|
CMDS=<<EOF
|
|
e asm.arch=pic
|
|
echo =============== midrange
|
|
e asm.cpu=midrange
|
|
ar
|
|
echo =============== pic18
|
|
e asm.cpu=pic18
|
|
ar
|
|
EOF
|
|
EXPECT=<<EOF
|
|
=============== midrange
|
|
indf0 = 0x00
|
|
indf1 = 0x00
|
|
pcl = 0x00
|
|
status = 0x00
|
|
fsr0l = 0x00
|
|
fsr0h = 0x00
|
|
fsr1l = 0x00
|
|
fsr1h = 0x00
|
|
bsr = 0x00
|
|
wreg = 0x00
|
|
pclath = 0x00
|
|
intcon = 0x00
|
|
pc = 0x0000
|
|
stkptr = 0x00
|
|
_sram = 0x00000000
|
|
_stack = 0x00000000
|
|
=============== pic18
|
|
pc = 0x00000000
|
|
bsr = 0x00
|
|
tos = 0x00000000
|
|
indf0 = 0x0000
|
|
indf1 = 0x0000
|
|
indf2 = 0x0000
|
|
tblptr = 0x000000
|
|
tblptru = 0x00
|
|
rcon = 0x00
|
|
memcon = 0x00
|
|
intcon = 0x00
|
|
intcon2 = 0x00
|
|
intcon3 = 0x00
|
|
pie1 = 0x00
|
|
porta = 0x00
|
|
trisa = 0x00
|
|
portb = 0x00
|
|
tisb = 0x00
|
|
latb = 0x00
|
|
portc = 0x00
|
|
trisc = 0x00
|
|
latc = 0x00
|
|
portd = 0x00
|
|
trisd = 0x00
|
|
latd = 0x00
|
|
pspcon = 0x00
|
|
porte = 0x00
|
|
trise = 0x00
|
|
late = 0x00
|
|
t0con = 0x00
|
|
t1con = 0x00
|
|
t2con = 0x00
|
|
tmr1h = 0x00
|
|
tmr0h = 0x00
|
|
tmr1l = 0x00
|
|
tmr2 = 0x00
|
|
pr2 = 0x00
|
|
ccpr1h = 0x00
|
|
postinc2 = 0x00
|
|
ccpr1l = 0x00
|
|
postdec2 = 0x00
|
|
ccp1con = 0x00
|
|
preinc2 = 0x00
|
|
ccpr2h = 0x00
|
|
plusw2 = 0x00
|
|
ccpr2l = 0x00
|
|
ccp2con = 0x00
|
|
status = 0x00
|
|
prod = 0x0000
|
|
osccon = 0x00
|
|
tmr3h = 0x00
|
|
lvdcon = 0x00
|
|
tmr3l = 0x00
|
|
wdtcon = 0x00
|
|
t3con = 0x00
|
|
spbrg = 0x00
|
|
postinc0 = 0x00
|
|
rcreg = 0x00
|
|
postdec0 = 0x00
|
|
txreg = 0x00
|
|
preinc0 = 0x00
|
|
txsta = 0x00
|
|
plusw0 = 0x00
|
|
rcsta = 0x00
|
|
sspbuf = 0x00
|
|
wreg = 0x00
|
|
sspadd = 0x00
|
|
sspstat = 0x00
|
|
postinc1 = 0x00
|
|
sspcon1 = 0x00
|
|
postdec1 = 0x00
|
|
sspcon2 = 0x00
|
|
preinc1 = 0x00
|
|
adresh = 0x00
|
|
plusw1 = 0x00
|
|
adresl = 0x00
|
|
adcon0 = 0x00
|
|
stkptr = 0x00
|
|
EOF
|
|
RUN
|