Bitwise IO: Difference between revisions
m
→Compressing a String of ASCII Zeroes and Ones: typo fix, removed unnecessary steps
Puppydrum64 (talk | contribs) m (→{{header|Z80 Assembly}}: simplified label names) |
Puppydrum64 (talk | contribs) m (→Compressing a String of ASCII Zeroes and Ones: typo fix, removed unnecessary steps) |
||
Line 219:
loop_CompressBits:
LDA (z_BC),y
beq Terminated ; if the value read is equal to the null terminator, we are done.
ror ; bottom bit of accumulator is rotated into the carry flag.▼
▲ror ; accumulator is rotated into the carry flag.
rol tempMath ; the carry is shifted into the bottom of tempMath.
; repeating this with each successive ascii bit representation
|