summaryrefslogtreecommitdiff
path: root/os/boot/pc/x16.h
diff options
context:
space:
mode:
authorCharles.Forsyth <devnull@localhost>2008-06-11 14:21:44 +0000
committerCharles.Forsyth <devnull@localhost>2008-06-11 14:21:44 +0000
commit8a8c2d742b51525f66c2210e3c8a251de10022ff (patch)
tree8282ce595e5fbe2e487dc20f54891d9e9e7cbf37 /os/boot/pc/x16.h
parent31a18a6996a6b5927e39cc553696c167e6c88e3d (diff)
20080611-1520
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 */ \