summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAstrid Smith2011-10-22 03:11:08 -0700
committerAstrid Smith2011-10-22 03:11:08 -0700
commit555a832a8d8a26e81343ea059cbd39047134d864 (patch)
tree8a15d64318e4822acfa9ec820bd265e435b23a68
parent7d11503b39bdbd3c16db698e1e11bddb5b4d0978 (diff)
Special sections for special code
-rw-r--r--opcodes.s.m46
-rw-r--r--ports.s5
2 files changed, 10 insertions, 1 deletions
diff --git a/opcodes.s.m4 b/opcodes.s.m4
index 5c2065f..d4a9564 100644
--- a/opcodes.s.m4
+++ b/opcodes.s.m4
@@ -222,7 +222,8 @@ done:
.macro TIME should is
.endm
-.text
+ || text section 1 is the emulator core
+.text 1
.align 8
emu_plain_op: | Size(bytes) Time(cycles)
@@ -4308,3 +4309,6 @@ OP_FD(ff,«»)
OP_FDCB(ff,«»)
OP_ED(ff,«»)
+ || end special section
+.text 0
+
diff --git a/ports.s b/ports.s
index 3bd3b21..146bd41 100644
--- a/ports.s
+++ b/ports.s
@@ -1,5 +1,8 @@
|| -*- gas -*-
+ || special section for IO
+.text 2
+
|| Routines to process OUT and IN instructions. This is the
|| bit that's unique to TI calculators.
@@ -1188,3 +1191,5 @@ port_in_fe:
port_out_fe:
port_in_ff:
port_out_ff:
+
+.text 0