0 Members and 1 Guest are viewing this topic.
Btw is it the one talking about some S.A.D techniques as you talked about on IRC earlier?
LD HL, PlotSScreenLD A, %10101010LD B, 120Loop:LD (hl), AINc HLDJNZ LoopB_Call(_GrBufCpy)B_Call(_getKey)B_Call(_ClrLCDFull);I never display done...don't like it :P
Cool:You already said in your 48 lines program that it could be optimized, would this be valid? I understand this uses DJNZ which I can not recall you mentioned in one of the earlier lessons (not that I have read them all) so this is no offense or something I just wonder IF this is valid code and if it is, would it be faster?
On the RL instruction you say it moves the carry into bit 0 and bit 7 into the carry. But what happens first? it can never happen at the same time since CPU's are sequentially processing data so is it in the order you mention or the converse?
No, it is simultaneous, the operations are internal to the CPU and are performed at the same time.