Skip to content

fix[IAR/RL78 Port] Compilation fails on portasm.s file #1278

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 12, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions portable/IAR/RL78/portmacro.h
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@
* ; * memory mode) registers the _usCriticalNesting value and the Stack Pointer
* ; * of the active Task onto the task stack.
* ; *---------------------------------------------------------------------------*/
portSAVE_CONTEXT MACRO
portSAVE_CONTEXT MACRO
PUSH AX; /* Save AX Register to stack. */
PUSH HL
#if __CODE_MODEL__ == __CODE_MODEL_FAR__
Expand Down Expand Up @@ -217,7 +217,7 @@
* ; * general purpose registers and the CS and ES (only in __far memory mode)
* ; * of the selected task from the task stack.
* ; *---------------------------------------------------------------------------*/
portRESTORE_CONTEXT MACRO
portRESTORE_CONTEXT MACRO
MOVW AX, _pxCurrentTCB; /* Restore the Task stack pointer. */
MOVW HL, AX
MOVW AX, [ HL ]
Expand Down