NAME=asm.describe alignment with memory access
FILE=-
CMDS=<<EOF
e asm.arch=x86
e analysis.arch=x86
e asm.bytes=true
e asm.bits=32
"wa mov eax, [0x100]"
e asm.describe=true
pd 1
EOF
EXPECT=<<EOF
            0x00000000      a100010000     mov   eax, dword [0x100]    ; [0x100:4]=0 ; moves data from src to dst
EOF
RUN

NAME=asm.describe alignment
FILE=-
CMDS=<<EOF
e asm.arch=x86
e asm.bytes=true
e asm.bits=64
wa nop
e asm.describe=true
pd 1
EOF
EXPECT=<<EOF
            0x00000000      90             nop                         ; no operation
EOF
RUN
