summaryrefslogtreecommitdiff
path: root/os/boot/pc/x16.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/boot/pc/x16.h')
-rw-r--r--os/boot/pc/x16.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/boot/pc/x16.h b/os/boot/pc/x16.h
index 9c204328..9727a11e 100644
--- a/os/boot/pc/x16.h
+++ b/os/boot/pc/x16.h
@@ -147,7 +147,7 @@
#define PUSHI(i) BYTE $0x68; WORD $i; /* i -> --(rSP) */
#define POPA BYTE $0x61
#define POPR(r) BYTE $(0x58|r) /* (rSP++) -> r */
-#define POPS(rS) BYTE $$(0x07|((rS)<<3)) /* (rSP++) -> r */
+#define POPS(rS) BYTE $(0x07|((rS)<<3)) /* (rSP++) -> r */
#define NOP BYTE $0x90 /* nop */
#define LGDT(gdtptr) BYTE $0x0F; /* LGDT */ \