wswan:guide:c_assembly
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
wswan:guide:c_assembly [2024/03/16 13:01] – asie | wswan:guide:c_assembly [2025/08/15 14:43] (current) – [Useful macros] asie | ||
---|---|---|---|
Line 31: | Line 31: | ||
===== Useful macros ===== | ===== Useful macros ===== | ||
- | '' | + | '' |
- | * **WF_PLATFORM_CALL** - for portability between code models, you can use this macro in place of the '' | + | * **IA16_CALL** - for portability between code models, you can use this macro in place of the '' |
- | * **WF_PLATFORM_JMP** - for portability between code models, you can use this macro in place of the '' | + | * **IA16_JMP** - for portability between code models, you can use this macro in place of the '' |
- | * **WF_PLATFORM_RET** - for portability between code models, you can use this macro in place of the '' | + | * **IA16_RET** - for portability between code models, you can use this macro in place of the '' |
- | * **WF_PLATFORM_CALL_STACK_OFFSET(x)** - for portability between code models, you can use this macro to get a stack offset with the function return address accounted for. For exapmle, in a " | + | * **IA16_CALL_STACK_OFFSET(x)** - for portability between code models, you can use this macro to get a stack offset with the function return address accounted for. For exapmle, in a " |
wswan/guide/c_assembly.txt · Last modified: by asie