Skip to content

vengaer/asmexpander

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AsmExpander

Expand GNU AS-style macros for easier stepping with gdb.

Nested macros are supported.

Passing the following snippet

.macro isolssbl r0, r1
    leal -1(\r0), \r1
    notl \r1
    andl \r1, \r0
.endm

foo:
    movl $0x21, %eax
    isolssbl %eax, %r8d

to stdin yields

.macro isolssbl r0, r1
    leal -1(\r0), \r1
    notl \r1
    andl \r1, \r0
.endm

foo:
    movl $0x21, %eax
    leal -1(%eax), %r8d
    notl %r8d
    andl %r8d, %eax

About

Expand GNU AS-style assembly macros

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages