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: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 76 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 54:25:04 |
| Calls: | 1,265 |
| Calls today: | 1 |
| Files: | 1,362 |
| D/L today: |
3 files (2,684K bytes) |
| Messages: | 285,563 |