home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
assemblr
/
library
/
tasmswan
/
pushpop.asm
< prev
next >
Wrap
Assembly Source File
|
1989-07-10
|
384b
|
40 lines
%TITLE "PUSH/POP instructions demo"
IDEAL
DOSSEG
MODEL small
STACK 256
DATASEG
exitCode DB 0 ;if you want comments
CODESEG
Start:
mov ax,@data
mov ds,ax
push ax
push bx
mov ax,-1
mov bx,-2
mov cx,0
mov dx,0
push ax
push bx
pop cx
pop dx
pop bx
pop ax
Exit:
mov ah,04Ch
mov al,[exitCode]
int 21h
End Start