 | Ax51 User's Guide |  |
|
|
| ECRM Assembler Directive| Abbreviation | None. | | Arguments | None. | | Default | Generic CALL instructions are not expanded to ECALL instructions. | | µVision | Options — AX51 — Misc Controls. | | Description | The ECRM directive signals the AX51 Macro Assembler that the NXP 80C51MX device is operating in Extended Call Return Mode (ECRM). In this mode ACALL, LCALL, and ECALL push 3-bytes return address to stack. Therefore the generic CALL mnemonic can be expanded to an ECALL instructions since RET can return to any function call. Note - This directive is available in the AX51 Assembler only.
| | See Also | MOD_MX51 | | Example |
AX51 MYFILE.A51 MOD_MX51 ECRM
$MX ECRM
|
|
|