0
Follow
5
View

How to distinguish between hexadecimal and decimal data in ax register

lemon2888 注册会员
2023-01-26 09:03

If it is helpful to your problem, hope to adopt!

ctrlqc 注册会员
2023-01-26 09:03

In x86 assembly language, a number is hexadecimal when it is followed by an "h". Thus, "mov ax, 1000h" means to store the hexadecimal number "1000" in the register AX. "mov ax, 1000" means to store the decimal number "1000" in the register AX. When you use the mul instruction to compute, you need to determine how to compute based on the base of the number.

About the Author

Question Info

Publish Time
2023-01-26 09:03
Update Time
2023-01-26 09:03