0 Members and 1 Guest are viewing this topic.
xor a_shiftloop: rrd dec hl djnz _shiftloop
Hi @c4ooo,Can you be a bit more specific? AFAICT a nibble is just a set of 4 bits glued together; why don't you just shift-right by a constant of multiple of 4, or do you something else on your mind/question?
The relevant instruction is RRD, it's not very fast but it seems like nothing is ever fast on z80..You can do something likeCode: [Select] xor a_shiftloop: rrd dec hl djnz _shiftloopMaybe inc hl, depends on the endianness of your buffer.
Server load over the past 5, 10 and 15 minutes respectively: 0.61, 0.6, 0.63
Page created in 0.307 seconds with 41 queries.