/************************** I2ICE TUTORIAL SCREEN #10 **************************/ menu=1 define literally P = 'include scr.9 nolist' define literally R = 'include scr.10 nolist' define literally RTN = 'include scr.10 nolist' define literally N = 'include scr.11 nolist' define literally M = 'include scr.2 nolist' cls /*******************************************************************************/ ' ------------------------' 'The ability to create and refer to high-level sym- | SCR10: SAVE ADDRESS |' 'bols is very useful when you run (emulate) programs | M = Go to main menu |' 'with the I2ICE system. We need to create a high- | N = Next screen |' 'level symbol now. When you first load a program, | P = Previous screen |' 'the current execution pointer (CS:IP) points to the | Q = Quit tutorial |' 'first instruction in the program. We need to save | R = Rewrite SCR10 |' 'this starting address by defining a high-level debug | SCR# = Screen desired |' 'variable named TOP. Enter the following: ------------------------' ' ' ' DEFINE POINTER TOP = $ ' ' ' 'In the I2ICE command language, the "$" symbol is a pseudo-variable that rep-' 'resents the current execution address. By setting the variable TOP to $ be-' 'fore the program is run, TOP equals the address of the first program instruc- ' 'tion. You can check the value of TOP by entering' ' TOP ' ' ' '--------------To learn how to edit commands, enter MOD_C ---------------'