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: | 251 |
Nodes: | 16 (2 / 14) |
Uptime: | 23:27:53 |
Calls: | 5,544 |
Calls today: | 3 |
Files: | 11,676 |
Messages: | 5,109,037 |