Skip to content

Commit e15a903

Browse files
committed
[ASM] Add ml_offset macro for both GAS and ML to reduce future code
1 parent 9a55c93 commit e15a903

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sdk/include/asm/asm.inc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ ENDM
172172
.skip size, fill
173173
ENDM
174174

175+
#define ml_offset offset
175176
#define lXdtPrefix fword ptr
176177

177178
ljmp MACRO segment, offset
@@ -324,6 +325,7 @@ ENDM
324325
#define REPEAT .rept
325326
#define ENDR .endr
326327

328+
#define ml_offset
327329
#define lXdtPrefix
328330

329331
.macro ljmp segment, offset

0 commit comments

Comments
 (0)