Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédenteDernière révisionLes deux révisions suivantes | ||
back2root:archives:denthor:part-14 [2021/09/02 15:38] – créée frater | back2root:archives:denthor:part-14 [2021/09/02 16:00] – frater | ||
---|---|---|---|
Ligne 181: | Ligne 181: | ||
In the sample program I used one or two assembler commands that I havent discussed with you ... here they are ... | In the sample program I used one or two assembler commands that I havent discussed with you ... here they are ... | ||
- | | <code asm> | + | | <code asm> |
- | | <code asm> | + | | <code asm> |
- | | <code asm> | + | | <code asm> |
- | eg mov ax,64000 | + | shl ax,1 |
- | | + | |
- | </ | + | |
- | + | ||
- | For more info on shifting etc, re-read tut 7, it goes into the concept in detail. | + | |
The sample program is basically Tut 9 rewritten. To see how the assembler stuff is working, do the following ... Go into 50 line mode (-Much- easier to debug), then hit [Alt - D] then R. A little box with all your registers, segments etc and their values will pop up. Move it down to where you want it, then go back to the program screen (Hit Alt and it's number together), and resize it so that you have both it and the register box onscreen at once (Alt - 5 to resize) ... then use F4, F7 and F8 to trace though the program (you know how). The current value of the registers will always be in that box. | The sample program is basically Tut 9 rewritten. To see how the assembler stuff is working, do the following ... Go into 50 line mode (-Much- easier to debug), then hit [Alt - D] then R. A little box with all your registers, segments etc and their values will pop up. Move it down to where you want it, then go back to the program screen (Hit Alt and it's number together), and resize it so that you have both it and the register box onscreen at once (Alt - 5 to resize) ... then use F4, F7 and F8 to trace though the program (you know how). The current value of the registers will always be in that box. |