On 05.09.2012 19:19, Masur Jonathan wrote:

> There is also the 65C816 which has a 16-bit mode and many extra 
> instructions, which is used in the Super Nintendo Entertainment System 
> (SNES) video game console.
> 
> It would be great to port SDCC for all variants of the 6502 family, 
> although I'm not too sure about 65C816 because it's not entirely a 8-bit 
> CPU, it's more a fake 16-bit CPU. It's data bus is physically 8-bit, but 
> the registers can be toggled between 8-bit and 16-bit, and the 
> instructions behave differently depending on the used mode, which can 
> turn out quite complicated - for example a subroutine call that is 
> supposed to be done in 16-bit mode can crash the CPU if called in 8-bit 
> mode and vice-versa. I don't know if this make it "eligible" for a SDCC 
> port.

>From a quick look at the manual, the 65C816 seems fine for a sdcc port,
but it is too different from 6502 to have the two ports integrated.
Maybe later if there is enough interest. IMO there are some more serious
things that needs fixing first in sdcc than lack of ports.

Philipp

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to