Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

Activity for lovebuny‭

Type On... Excerpt Status Date
Comment Post #287067 why not use `puts`?
(more)
about 1 year ago
Edit Post #289642 Post edited:
less whitespace
about 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)
about 1 year ago
Edit Post #289642 Post edited:
32-bit byte?
about 1 year ago
Comment Post #289642 ok then :) 6 bytes it is
(more)
about 1 year ago
Edit Post #289642 Initial revision about 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)
about 1 year ago