Search found 5 matches
- Wed Feb 12, 2020 7:12 pm
- Forum: Newbies
- Topic: Generic for loop
- Replies: 21
- Views: 5414
Re: Generic for loop
I appreciate all the support 
- Wed Feb 12, 2020 5:54 pm
- Forum: Newbies
- Topic: Generic for loop
- Replies: 21
- Views: 5414
Re: Generic for loop
Not really an assembler. I play around with ideas using https://skilldrick.github.io/easy6502/#intro. It is an online emulator written in JS with a step debugger and monitor. However, I can see now, doing the coding on the hardware would probably be better; the indirect addressing mode (<address ...
- Wed Feb 12, 2020 5:14 pm
- Forum: Newbies
- Topic: Generic for loop
- Replies: 21
- Views: 5414
Re: Generic for loop
Save 5 bytes :). While I agree, comparing zero doesn't need to be there, if the low byte is non-zero, the compare does?
I see I have a lot more studying to do on Flag usage. Flag states seem to be able to remove cycles if used correctly.
;************** Old Code using ADC
define scrLow $00 ...
I see I have a lot more studying to do on Flag usage. Flag states seem to be able to remove cycles if used correctly.
;************** Old Code using ADC
define scrLow $00 ...
- Wed Feb 12, 2020 4:57 pm
- Forum: Newbies
- Topic: Generic for loop
- Replies: 21
- Views: 5414
Re: Generic for loop
Thank you, I will give that a try
- Wed Feb 12, 2020 4:13 pm
- Forum: Newbies
- Topic: Generic for loop
- Replies: 21
- Views: 5414
Generic for loop
I see in these forums, there are a lot about loops but, is there a better way than the following to have a 16 bit for loop where the loop count can change and it is just a call. I have the following piece of code I developed using Skrilldricks page to loop for a specific count. I am developing for ...