Article View: comp.sys.nsc.32k
Article #886532 bug?
From: Alvin Jee
Date: Thu, 02 May 1991 00:48
Date: Thu, 02 May 1991 00:48
63 lines
3681 bytes
3681 bytes
AHHHH!!!
I've found somw interesting behaviour in my 532. It seems that the
notb instruction is not doing it's thing. All I can get it to
do is add one to my source operand. I've attached a copy of the
output I get from the monitor.
Oh, the first bsr gets a character from the serial port and puts it
in r0. In this example, I've entered a space character.
Any help and insight into this will be much appreciated!
Alvin Jee
alvin@spica.ucsc.edu
--------- This is the start of the whole thing -------
Command (? for help): dis 10000 8
10000 br 2
10002 enter [],0
10005 bsr 48
10008 notb r0,r1
1000b bsr 130
1000e br -12
10010 exit []
10012 ret 0
Command (? for help): set bkpt0 10008
Command (? for help): run 10000
10008 notb r0,r1 (breakpoint)
Command (? for help): show
r0=20 r1=0 r2=0 r3=0
r4=0 r5=0 r6=0 r7=0
f0=0 f1=0 f2=0 f3=0
f4=0 f5=0 f6=0 f7=0
l1l=0 l1h=0 l3l=0 l3h=0
l5l=0 l5h=0 l7l=0 l7h=0
pc=10008 usp=ffc isp=bf8 fp=bf8
sb=0 intbase=40 mod=8 psr=ipsunzFvltc
dcr=0 dsr=0 car=0 bpc=0
cfg=bf7 ptb0=0 ptb1=0 tear=0
mcr=0 msr=0 fsr=10000 .=10014
v1=0 v2=0 bkpt0=10008 bkpt1=0
bkpt2=0 bkpt3=0 bkpt4=0 bkpt5=0
bkpt6=0 bkpt7=0 radix=d'16 debug=d'0
scrlen=d'24 scsi_adr=1 scsi_lun=0
Command (? for help): step
1000b bsr 130 (trace)
Command (? for help): show
r0=20 r1=21 r2=0 r3=0
r4=0 r5=0 r6=0 r7=0
f0=0 f1=0 f2=0 f3=0
f4=0 f5=0 f6=0 f7=0
l1l=0 l1h=0 l3l=0 l3h=0
l5l=0 l5h=0 l7l=0 l7h=0
pc=1000b usp=ffc isp=bf8 fp=bf8
sb=0 intbase=40 mod=8 psr=ipsunzFvltc
dcr=0 dsr=0 car=0 bpc=0
cfg=bf7 ptb0=0 ptb1=0 tear=0
mcr=0 msr=0 fsr=10000 .=10014
v1=0 v2=0 bkpt0=10008 bkpt1=0
bkpt2=0 bkpt3=0 bkpt4=0 bkpt5=0
bkpt6=0 bkpt7=0 radix=d'16 debug=d'0
scrlen=d'24 scsi_adr=1 scsi_lun=0
Command (? for help):
---------- Well, any ideas? ------------------------
Technical Details
Message-ID:
<15268@darkstar.ucsc.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!bionet!agate!darkstar!saturn.ucsc.eduShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!bionet!agate!darkstar!saturn.ucsc.edu From: alvin@saturn.ucsc.edu (Alvin Jee) Newsgroups: comp.sys.nsc.32k Subject: 532 bug? Message-ID: <15268@darkstar.ucsc.edu> Date: 2 May 91 00:48:23 GMT Sender: usenet@darkstar.ucsc.edu Organization: University of California, Santa Cruz Lines: 63