Sorry if this might be a duplicate, but I'm not sure how to google this.
I know that from computer science that the registers are for high-speed variables so I've been trying to minimize my use of ram. How much of a difference can this actually make? What is the speed differences of something like this:
Code:
I have seen references to people talking about counting T-states of their programs but how do I know how long each line takes?
Again sorry if this has been asked a million times before.
I know that from computer science that the registers are for high-speed variables so I've been trying to minimize my use of ram. How much of a difference can this actually make? What is the speed differences of something like this:
Code:
ld a, b
; and
pop af
; or even
ld a, (0x1234)
I have seen references to people talking about counting T-states of their programs but how do I know how long each line takes?
Again sorry if this has been asked a million times before.