top decor
ROM subroutines Print char; input char; print boolean


Print char

addr code mnemonic action comments
EE0...2800005 0172TRAP 5/02, $71call system function: print symbolprint char from $71
2849F6F 6F00GOI $6F, $6F, 00return using $6F(finish subroutine)

Input char

addr code mnemonic action comments
EE0...2880005 0171TRAP 5/01, $71call system function: input symbolinput char to $71
28C9F6F 6F00GOI $6F, $6F, 00return using $6F(finish subroutine)

Print boolean

addr code mnemonic action comments
EE0...2902173 6F00ADDI $73, $6F, 00$73 <== $6Fstore return address to $73
2944271 0005BZ $71, 0005branch to 2A8 if $71 = 0if FALSE
2989F6F 7030GOI $6F, $70, 30call subroutine $70 + 30,
return - $6F
print the following text
29C0454 5255
4500 0000
TRUE4 symbols: "TRU"
"E"
text to print
(length=4 - first byte)
2A49F73 7300GOI $73, $73, 00return using old $6F value(finish subroutine)
2A89F6F 7030GOI $6F, $70, 30call subroutine $70 + 30,
return - $6F
print the following text
2AC0546 414C
5345 0000
FALSE5 symbols: "FAL"
"SE"
text to print
(length=5 - first byte)
2B49F73 7300GOI $73, $73, 00return using old $6F value(finish subroutine)

back previous page next page forward


Related topics:

E-MMI software
 

  (C) 2003, Evgeny Eremin. rEd-MMI project documentation