Jump to content
IGNORED

Programming Instruction Issue


9640News

Recommended Posts

OK, need to figure out how to pass a status bit back to a piece of calling code from another BLWP instruction using an XOP on the Geneve.

 

Basically, code is as follows:

 

START LWPI >F000

ST1 BLWP @KSCAN

JNE NEWCODE

JMP ST1

NEWCODE

Etc.............

 

KSCAN, >F020,KSCAN0

KSCAN0

CLR @KSTAT

CLR R0

XOP @KEY,0

JEQ KS2

 

MOVB @H04,@KSTAT

MOV @KSTAT,R15

 

KS2 RTWP

 

 

KEY DATA 5

H04 BYTE >04

EVEN

 

 

My code does not seem to recognize the status bit (bit 3) is set. Is there something I am overlooking?

 

Beery

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...