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