문제

I am new to assembly language and I found this table of hex codes that I need http://www.keil.com/support/man/docs/is51/is51_opcodes.htm But my question is does it matter which "ADD" instruction I do given a certain situation since they range from 24-2F or can I just pick anyone I desire?

도움이 되었습니까?

해결책

You need to choose the one that mathches what you want to accomplish, i.e., how the value you want to add is specified. Do you for instance want to add an immediate operand or a value in a register? As stated by Raymond Chen, the details are present in the fourth column.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top