How might I convert Intel 80386 Machine Code to Assembly Language?

前端 未结 6 2031
暖寄归人
暖寄归人 2021-01-06 15:07

I\'ve been given the following task:

Consider the following sequence of hexadecimal values:

55 89 E5 83 EC 08 83 E4 F0 31 C9 BA 01 00 00 0

6条回答
  •  情歌与酒
    2021-01-06 15:20

    I wouldn't use a disassembler, go through the instruction manual and figure out what each group of bits could mean. This will get you the corresponding assembly instruction. From there it shouldn't be too hard to get that into C. I agree with the other poster that it is messed up doing this assignment in x86. Something like SPARC or MIPS would be much easier (as these have fixed width instructions).

提交回复
热议问题