aiiadict@gmail.com wrote:
Can someone who knows how to use the internal interpreter documentation code a &GOTO A command ? All of the information is on the net. An example of using the & command is on http://rich12345.tripod.com programming info page, SCRN for HGR page. Also, there is a great & command tutorial somewhere on the net. Rich
Here's what you want. 300: c9 ab cmp #$AB ; GOTO token? 302: f0 01 beq $305 304: 60 rts ; get a syntax error 305: 20 b1 00 jsr $00b1 ; skip GOTO token 308: 20 67 dd jsr $dd67 ; evaluate expression 30b: 20 52 e7 jsr $e752 ; convert to 16-bit integer 30e: 4c 44 d9 jmp $d944 ; do the GOTO ; initialize the ampersand vector 3f5: 4c 00 03 jmp $0300 -- Jerry Penner e-mail: awanderin at yahoo dot ca