current position:Home>Questions about mov assembly code

Questions about mov assembly code

2022-02-04 16:35:38 CSDN Q & A

movb $0xf , (%rbx)
How to determine mov What's the last character of ? That is why this is b Not the others ?




Take the answer :

Look at the instruction set documentation
Generally speaking
movl be used for 32 Long word value of bit
movw be used for 16 Word value of bit
movb be used for 8 Byte value of bit


copyright notice
author[CSDN Q & A],Please bring the original link to reprint, thank you.
https://en.cdmana.com/2022/02/202202041635364225.html

Random recommended