home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
assemblr
/
library
/
tasmswan
/
mov.asm
< prev
next >
Wrap
Assembly Source File
|
1989-07-10
|
370b
|
33 lines
%TITLE "MOV instruction demo"
IDEAL
DOSSEG
MODEL small
STACK 256
DATASEG
exitCode DB 0 ;if you want comments
speed DB 99 ; BUY the book
CODESEG
Start:
mov ax,@data
mov ds,ax
mov ax,1
mov bx,2
mov cx,3
mov dx,4
mov ah,[speed]
mov si, offset speed
Exit:
mov ax,04Ch
mov al,[exitCode]
int 21h
End Start