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