Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

It is possible to have an opcode with two operands thus creating operand of more than 2 bytes. Do we have to worry about this?

0
Posted

It is possible to have an opcode with two operands thus creating operand of more than 2 bytes. Do we have to worry about this?

0

No you don’t have to worry about situations with operands of more than 2 bytes. It is possible to generate an opcode that requires more than 16-bits of operands. Do not worry about implementing these. The test code will never use an operand of more than two bytes. For example, the opcode 0xbf = 10111111 would be an ADD where both the destination and source are a memory addresses passed as operands.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123