home *** CD-ROM | disk | FTP | other *** search
- ;
- ; *** Listing 8-7 ***
- ;
- ; Initializes a variable to 0 via a register-register SUB,
- ; followed by the accumulator-specific form of MOV to a
- ; direct-addressed operand.
- ;
- jmp Skip
- ;
- InitialValue dw ?
- ;
- Skip:
- call ZTimerOn
- rept 1000
- sub ax,ax
- mov [InitialValue],ax
- endm
- call ZTimerOff