Skip to content

Suggests a series of MOV and ADD instructions to use to get any 32-bit value into a register with Imm12 ARM encodings

License

Notifications You must be signed in to change notification settings

XlogicX/ImmSuggest

Repository files navigation

ImmSuggest

Suggests a series of MOV and ADD instructions to use to get any 32-bit value into a register with Imm12 ARM encodings

Assemble

as ImmSuggest.s -o ImmSuggest.o && ld ImmSuggest.o -o ImmSuggest

Usage

You provide an integer as an argument (ideally something that fits into 32-bits), and it gives you the instruction(s) that will get that number into your register, some way or another. If your number doesn't fit in one instruction, the program will first display the closest surrounding numbers that would fit, as in: lower < your number > higher

Usage Demo

alt tag

About

Suggests a series of MOV and ADD instructions to use to get any 32-bit value into a register with Imm12 ARM encodings

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published