Bochs 反汇编命令
反汇编一段内存使用u命令,格式如下:
u 起始地址 终止地址
如下反汇编从物理地址0x7c00到0x7c40内存数据的反汇编指令:
<bochs:8> u 0x7c00 0x7c40
00007c00: ( ): xor ax, ax ; 31c0
00007c02: ( ): mov ss, ax ; 8ed0
00007c04: ( ): mov sp, 0x7c00 ; bc007c
00007c07: ( ): push 0x00000064 ; 666864000000
00007c0d: ( ): push 0x00000001 ; 666801000000
00007c13: ( ): call .+32 ; e82000
00007c16: ( ): add esp, 0x00000008 ; 6681c408000000
00007c1d: ( ): push 0x00000064 ; 666864000000
00007c23: ( ): push 0x00000001 ; 666801000000
00007c29: ( ): call .+72 ; e84800
00007c2c: ( ): add esp, 0x00000008 ; 6681c408000000
00007c33: ( ): jmp .-3 ; e9fdff
00007c36: ( ): push ebp ; 6655
00007c38: ( ): mov ebp, esp ; 6689e5
00007c3b: ( ): push ebx ; 6653
00007c3d: ( ): push esi ; 6656
00007c3f: ( ): push edi ; 6657