I thought I only needed to code "ret", and the memory
model would take care of converting that to either
retf or retn, as required.
But I found under both wasm and masm I need to put
retf. Any idea why?
.model medium
.code
public two
two:
push dx
mov ah,2
mov dl,41h
int 21h
pop dx
retf
db 40000 dup(?)
end
Thanks. Paul.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 418 |
Nodes: | 16 (0 / 16) |
Uptime: | 40:28:48 |
Calls: | 8,782 |
Calls today: | 9 |
Files: | 13,293 |
Messages: | 5,964,404 |