Skip to content

XlogicX/ImmSuggest

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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