任何人都可以仔细检查这一点,看看我是否做得对吗? 1. create the following variables in the data section. Declare them as WORD (not BYTE or DWORD)
num1 (initialize to 0FACE hex)
num2 (initialize to 0FEED hex)
In
我正在学习装配/倒车。例如,我只用一个参数来查找idiv和imul的文档,同时也明白哪个参数是第一个和最后一个是在sub/add中。我已被给予以下代码(与我的理解在评论) start:
mov $1024, %rax ; move int value 1024 to register rax
mov $4096, %rbx ; move int value 4096 to register r