[A83] Re: Symbolic's functions in asm


[Prev][Next][Index][Thread]

[A83] Re: Symbolic's functions in asm




Thanks for the debugging. The testing program isn't yet working, but at
least it doesn't totally crash anymore. Now it returns to the home
screen with a 'domain' error. I think there was also another small
mistake: the carry flag is set when the application is not found instead
of when it is found. Here's once again the code I used:

.NOLIST             
#define equ .equ
#define EQU .equ
#define END .end
#include "83p.inc"      
.LIST 
 
  .org 9D95h
  call mySecOf2
  ld hl,0
  B_CALL(_outputexpr)
  ret
mySecOf2:
  B_CALL(_op1set2)
  B_CALL(_pushrealo1)
  ld hl,2 		
  push hl
  ld hl,name
  B_CALL(_mov9toop1)
  B_CALL(_findapp)
  jp nc,Allrighty
  B_CALL(_poprealo1)
  pop hl
  ret
Allrighty:
  out (6),a       
  ld hl,(4086h)   
  jp (hl)

name:
  .db AppObj,"Symbolic",0
         
.end
END






Follow-Ups: References: