Arithmetic // SRA (Shift Right Arithmetic)
0xDDCB**29 - u56779
The contents of the memory location pointed to by ix 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 c.
| 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 (ix+*),c",
"opcode": "sra",
"operand": [
"(ix+*)",
"c"
],
"code": "DDCB**29",
"bytes": 4,
"time": 23,
"description": "The contents of the memory location pointed to by ix 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 c.",
"category": "Arithmetic",
"subCategory": "SRA (Shift Right Arithmetic)"
}