Arithmetic // SRA (Shift Right Arithmetic)
0xFDCB**2A - u64971
The contents of the memory location pointed to by iy plus * are shifted right one bit position. The contents of bit 0 are copied to the carry flag and the previous contents of bit 7 are unchanged. The result is then stored in d.
| T States | Bytes |
|---|---|
| 23 | 4 |
S affected as defined
Z affected as defined
H reset
P/V detects parity
N reset
C affected as defined
{
"flags": {
"S": "affected as defined",
"Z": "affected as defined",
"H": "reset",
"P/V": "detects parity",
"N": "reset",
"C": "affected as defined"
},
"operation": "sra (iy+*),d",
"opcode": "sra",
"operand": [
"(iy+*)",
"d"
],
"code": "FDCB**2A",
"bytes": 4,
"time": 23,
"description": "The contents of the memory location pointed to by iy plus * are shifted right one bit position. The contents of bit 0 are copied to the carry flag and the previous contents of bit 7 are unchanged. The result is then stored in d.",
"category": "Arithmetic",
"subCategory": "SRA (Shift Right Arithmetic)"
}