summaryrefslogtreecommitdiff
path: root/regs.dat
diff options
context:
space:
mode:
authorBen Rudiak-Gould <benrudiak@gmail.com>2013-03-03 18:43:07 +0400
committerCyrill Gorcunov <gorcunov@gmail.com>2013-03-03 20:50:46 +0400
commitd1ac29a3cc513642a8d42ddf964b903f5e1508d4 (patch)
tree7c582f2c8fb9f48f13bc74ee96ca4631286f37fb /regs.dat
parent83e6924e1a583d432e9a54c68a59779da5d8ce3d (diff)
downloadnasm-d1ac29a3cc513642a8d42ddf964b903f5e1508d4.tar.gz
nasm-d1ac29a3cc513642a8d42ddf964b903f5e1508d4.tar.bz2
nasm-d1ac29a3cc513642a8d42ddf964b903f5e1508d4.zip
insns: Remove pushseg/popseg internal bytecodes
This patch is getting rid of the following bytecodes 'pushseg','popseg','pushseg2','popseg2' and simplifies overall code. [gorcunov@: a few style fixes] Signed-off-by: Ben Rudiak-Gould <benrudiak@gmail.com> Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'regs.dat')
-rw-r--r--regs.dat10
1 files changed, 5 insertions, 5 deletions
diff --git a/regs.dat b/regs.dat
index 105c9ef..57cef6a 100644
--- a/regs.dat
+++ b/regs.dat
@@ -86,12 +86,12 @@ r8-15d REG32NA reg32 8
r8-15 REG64NA reg64 8
# Segment registers
+es REG_ES sreg 0
cs REG_CS sreg 1
-ds REG_DESS sreg 3
-es REG_DESS sreg 0
-ss REG_DESS sreg 2
-fs REG_FSGS sreg 4
-gs REG_FSGS sreg 5
+ss REG_SS sreg 2
+ds REG_DS sreg 3
+fs REG_FS sreg 4
+gs REG_GS sreg 5
segr6-7 REG_SEG67 sreg 6
# Control registers