123456789101112131415161718192021222324252627282930 |
- .sect .text; .sect .rom; .sect .data; .sect .bss
- .sect .text
- .define .sbi
- ! #bytes in cx , top of stack in ax
- .sbi:
- pop bx ! return subress
- cmp cx,2
- jne 1f
- pop cx
- sub ax,cx
- neg ax
- jmp bx
- 1:
- cmp cx,4
- jne 9f
- pop dx
- pop cx
- sub cx,ax
- mov ax,cx
- pop cx
- sbb cx,dx
- push cx
- jmp bx
- 9:
- .extern EODDZ
- .extern .trp
- mov ax,EODDZ
- push bx
- jmp .trp
|