Study note

Let's Learn x86-64 Assembly! Part 3 - Arithmetic and Logic

Properties

Type
Blogs
Status
待读
Domain
Systems
Category
汇编、链接与可执行文件
Source
gpfault.net
Vault note
library/articles/systems/Let's-Learn-x86-64-Assembly!-Part-3---Arithmetic-and-Logic-556c5c1fd720c058.md

Summary

在继续实现 QBX 虚拟机的过程中讲解整数表示、补码、符号扩展,以及 x86-64 的加减乘除、位运算和移位指令,并说明这些运算如何影响标志寄存器。

Highlights

把“二进制数如何表示”和“处理器指令实际如何运算”放在同一条实践链路中,适合补齐有符号与无符号运算、溢出和算术标志位等容易混淆的基础。

Comments

Loading comments...