summaryrefslogtreecommitdiffstats
path: root/tinySIGCOMP/asm/dummy.asm
diff options
context:
space:
mode:
Diffstat (limited to 'tinySIGCOMP/asm/dummy.asm')
-rw-r--r--tinySIGCOMP/asm/dummy.asm27
1 files changed, 27 insertions, 0 deletions
diff --git a/tinySIGCOMP/asm/dummy.asm b/tinySIGCOMP/asm/dummy.asm
new file mode 100644
index 0000000..6654fcf
--- /dev/null
+++ b/tinySIGCOMP/asm/dummy.asm
@@ -0,0 +1,27 @@
+ ; RFC 4896
+ at (0)
+ :udvm_memory_size pad (2)
+ :cycles_per_bit pad (2)
+ :sigcomp_version pad (2)
+ :partial_state_id_length pad (2)
+ :state_length pad (2)
+ :reserved pad (2)
+ at (64)
+ :byte_copy_left pad (2)
+ :byte_copy_right pad (2)
+ :input_bit_order pad (2)
+ :stack_location pad (2)
+
+ ; Simple loop
+ ; Read a byte
+ ; Output a byte
+ ; Until there are no more bytes!
+
+ at (128)
+ :start
+ INPUT-BYTES (1, byte_copy_left, end)
+ OUTPUT (byte_copy_left, 1)
+ JUMP (start)
+
+ :end
+ END-MESSAGE (0,0,0,0,0,0,0)
OpenPOWER on IntegriCloud