This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Instruction Set Manual Question

I was unsure as to what the meaning of "Bytes" was in the description of a given instruction. For example:

For the MOV opcode, two of the given mnemonics are:

MOV @Rn, #immediate
C AC F0 RS1 RS0 OV P
Bytes 2
Cycles 1
Encoding
0111011n immediate
Operation

MOV
(Rn) = immediate

Example

MOV @R0, #0

MOV @Ri, A
C AC F0 RS1 RS0 OV P
Bytes 1
Cycles 1
Encoding
1111011i
Operation

MOV
(Ri) = A

Example

MOV @R0, A

What do the "Bytes" refer to in the description, please?

Parents
  • In this context, it just specifies the number of bytes used to encode an individual instruction.

    For example, the instruction "MOV @Rn, #immediate" requires one byte to encode the MOV and one byte for the immediate data, so two bytes in total.

    And the "MOV @Ri, A" just requires one byte to encode the whole operation.

Reply
  • In this context, it just specifies the number of bytes used to encode an individual instruction.

    For example, the instruction "MOV @Rn, #immediate" requires one byte to encode the MOV and one byte for the immediate data, so two bytes in total.

    And the "MOV @Ri, A" just requires one byte to encode the whole operation.

Children
No data