home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng)
/
ProfitPress-MegaCDROM2.B6I
/
PROG
/
ASSEMBLY
/
ZENDISK1.ZIP
/
LST8-5.ASM
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
Assembly Source File
|
1990-02-15
|
319 b
|
19 lines
;
; *** Listing 8-5 ***
;
; Initializes a variable to 1 by setting AX to 1, then
; using the accumulator-specific form of MOV to store
; that value to a direct-addressed operand.
;
jmp Skip
;
InitialValue dw ?
;
Skip:
call ZTimerOn
rept 1000
mov ax,1
mov [InitialValue],ax
endm
call ZTimerOff