Activity for lovebuny
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Comment | Post #287067 |
why not use `puts`? (more) |
— | over 1 year ago |
Edit | Post #289642 |
Post edited: less whitespace |
— | over 1 year ago |
Comment | Post #289642 |
... do i even need to make it a full function? could it just be a single 4-byte instruction? (more) |
— | over 1 year ago |
Edit | Post #289642 |
Post edited: 32-bit byte? |
— | over 1 year ago |
Comment | Post #289642 |
ok then :) 6 bytes it is (more) |
— | over 1 year ago |
Edit | Post #289642 | Initial revision | — | over 1 year ago |
Answer | — |
A: Reverse the bits in a Byte ARM Thumb machine code, 6 bytes ```asm 0: fa90 f0a0 rbit r0, r0 // reverse bits in 32-bit register 0 4: 4770 bx lr // return ``` if bytes have to be octets (8-bit): ARM Thumb machine code, 8 bytes ```asm 0: fa90 f0a0 rbit r0, r0 // reverse bits in 32-bit register... (more) |
— | over 1 year ago |