@Mixail
you'll need to refactor a little the asm code if you use GenDevKit
1- add .global get_pad as first line
2- replace | comment by *
3- replace ax by %ax and dx by %dx
4- replace bsr.x by bsr
5- replace addi by add and cmpi by cmp (to confirm by Stef)
6- on your C code, declare get_pad with
extern u32 get_pad( );
7- get pad value with
u32 pad1 = get_pad( 0xA10003 );
@Stef
no problem with respect of nomenclature and logic, of course.
on what parts did you make some update ? there is no point for me to work on 6B support if you added it
else, you can look at my tutorial on Eclipse to see how I miss a shell and rm
The only bug I found is about gas... it seems it handles wrongly the xxxi instructions :
Chilly willy's code for ex, doesn't work as is since he used andi, cmpi
I had to use cmp and not cmpi because %d0 was overwritten (?!)
perhaps I did something wrong (but I doubt since cmp worked) but it would be great if you could check this.
waiting for WIP or google code link
Thanks