summaryrefslogtreecommitdiff
path: root/asm.rb
diff options
context:
space:
mode:
authorJulian Blake Kongslie2021-04-07 17:02:31 -0700
committerJulian Blake Kongslie2021-04-07 17:02:31 -0700
commit196b67bba9fcb8d8752311f4cf461c82c3d62efb (patch)
treedb3c1a8040ea2b56533b4ea117262d974db4213f /asm.rb
parentSwitch back to $past-based scheduling; my clever idea wasn't clever enough. (diff)
downloadnoncpu-196b67bba9fcb8d8752311f4cf461c82c3d62efb.tar.xz
Add UART receive opbit.
Diffstat (limited to 'asm.rb')
-rwxr-xr-xasm.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/asm.rb b/asm.rb
index c94ecf7..6da40fb 100755
--- a/asm.rb
+++ b/asm.rb
@@ -12,6 +12,7 @@ OPCODES = {
12 "++acc" => 0x002, 12 "++acc" => 0x002,
13 "--acc" => 0x004, 13 "--acc" => 0x004,
14 "tx" => 0x040, 14 "tx" => 0x040,
15 "rx" => 0x080,
15 "halt" => 0x000, 16 "halt" => 0x000,
16 } 17 }
17 18