Copyright (C) 2000-2012 |
GNU Info (nasm.info)Section 2.2.52.2.5. NASM Doesn't Support Memory Models ----------------------------------------- NASM also does not have any directives to support different 16-bit memory models. The programmer has to keep track of which functions are supposed to be called with a far call and which with a near call, and is responsible for putting the correct form of `RET' instruction (`RETN' or `RETF'; NASM accepts `RET' itself as an alternate form for `RETN'); in addition, the programmer is responsible for coding CALL FAR instructions where necessary when calling _external_ functions, and must also keep track of which external variable definitions are far and which are near. automatically generated by info2www version 1.2.2.9 |