Post Reply 
Help - Assembly programming on Debug4x (HP50G)
06-11-2019, 07:47 PM
Post: #1
Help - Assembly programming on Debug4x (HP50G)
Hi

This is my first question.

I have started reading about assembly programming and am sort of at the point where I need to start doing some experimental programming to progress further.

I am reasonably good at sysrpl and find using Debug4x no problem, but cannot find a way to do start using assembly programming on Debug4x

From what I have read I think I should be using CODEM & ENDCODE

I have tried the code snippet below which puts BINT1 on the stack and the assembly code (from asmtut) should be DROP. When its run the screen just clears completely and the emulator freezes

Any help on this would be much appreciated

Jeff


ASSEMBLE
CON(1) 8
RPL
xNAME ASMTEST
::

BINT1


CODEM

C=DAT1 A
?C=0 A
GOYES QUIT
D1=D1+ 5
D=D+1 A
*QUIT
GOVLNG =LOOP % =LOOP is 2D564 on the 48 and 05149 on the 49, which returns to RPL

ENDCODE

;
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Help - Assembly programming on Debug4x (HP50G) - JeffB - 06-11-2019 07:47 PM



User(s) browsing this thread: 1 Guest(s)