English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: bebbo
Forum: Coders. Asm / Hardware 30 July 2021, 11:41
Replies: 15
Views: 2,081
Posted By bebbo
refering to Don Adams comment: you are...

refering to Don Adams comment:


you are counting y like 0, 1, 2
can't you count y as 0, 200, 400, ... ?



then would be no need for * 200
Forum: Coders. Asm / Hardware 28 July 2021, 10:06
Replies: 15
Views: 2,081
Posted By bebbo
that's 44 cycles faster is lsl.w...

that's 44 cycles


faster is

lsl.w #3,d2 ; *8 6+6
move.w d2,d3 4
lsl.w #3,d3 ; *64 6+6
add.w d3,d2 ; *72 4
add.w d3,d2 ; *136 4
Forum: Coders. Asm / Hardware 28 July 2021, 07:46
Replies: 15
Views: 2,081
Posted By bebbo
the displacement must fit into 1 byte. Thus the...

the displacement must fit into 1 byte. Thus the code needs to be very close to the table.
used cycles: 4 + 14 = 18

the lea approach will work within a +-32k range
used cycles 8 + 4 + 14 = 26
...
Showing results 1 to 3 of 3

 
Forum Jump

All times are GMT +2. The time now is 08:06.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.
Page generated in 0.06131 seconds with 10 queries