@ -103,19 +103,17 @@
(proc rd4
; Read 4 bytes as little endian
(ld8 r0 @cin_r)(lsl r0 8)
(ld8 r0 @cin_r)
(sw32 r0)
(rev r0)
(ld8/8 r0 @cin_r)
(ld8/16 r0 @cin_r)
(ld8/24 r0 @cin_r)
(ret r0)
)
(proc rd2
; Read 2 bytes as little endian
(ld8 r0 @cin_r)(sw8 r0)