The meaning I saw on the website is as follows:
ARR
AND oper + ROR
This operation involves the adder:
V-flag is set according to (A AND oper) + oper
The carry is not set, but bit 7 (sign) is exchanged with the carry
A AND oper, C -> [76543210] -> C
NZCIDV
+++--+
addressingassembleropcbytescycles
immediateARR #oper6B22
However, my doubts have not been resolved:
Should the result of A AND oper be stored in register A?
What does C -> [76543210] -> C specifically represent? Does it mean that the result of A AND oper should be placed in C at the highest position?
How should the V flag be set?
If possible, could someone provide pseudocode to help with understanding? I would be very grateful.
ARR
AND oper + ROR
This operation involves the adder:
V-flag is set according to (A AND oper) + oper
The carry is not set, but bit 7 (sign) is exchanged with the carry
A AND oper, C -> [76543210] -> C
NZCIDV
+++--+
addressingassembleropcbytescycles
immediateARR #oper6B22
However, my doubts have not been resolved:
Should the result of A AND oper be stored in register A?
What does C -> [76543210] -> C specifically represent? Does it mean that the result of A AND oper should be placed in C at the highest position?
How should the V flag be set?
If possible, could someone provide pseudocode to help with understanding? I would be very grateful.
Statistics: Posted by secunda — Sat Jun 01, 2024 5:58 am — Replies 2 — Views 127