6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sun Jun 30, 2024 2:18 pm

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Sun Sep 15, 2019 9:24 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10837
Location: England
Some findings on Mitsubishi 7700 core and microcontrollers - it's a bit like an 816 but without the 6502 compatibility mode. Up to 25MHz. It retains m and x mode bits, has a prefix byte to bring a B accumulator into play, and includes multiplication and divide using another prefix byte. Both A and B are 16 bits and usable also byte sized.
(500 page user manual (MITSUBISHI 16-BIT SINGLE-CHIP MICROCOMPUTER 7700 FAMILY / 7700 SERIES 7702/7703 Group User's Manual) - gone from there, now found here. Or try here instead for a 344 page version)
http://www.alcyone.org.uk/ssm/7700sm.pdf (361 page software manual) (programmer's model page 11)

Then the 7900 (source code compatible) introduces 32 bit operations, 100 extra instructions, and 20-30% code size reduction. Has 4 direct page registers and a 32 bit accumulator E (concatenation of B and A.) Also RMPA, a vector product instruction.
https://www.renesas.com/sg/en/doc/produ ... 7900sm.pdf

Edit: see also previous threads

Edit: thanks to anonymous donor, added a link to the 512-page User's Manual.


Last edited by BigEd on Mon Sep 23, 2019 10:02 pm, edited 4 times in total.

Top
 Profile  
Reply with quote  
PostPosted: Sun Sep 15, 2019 5:16 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8235
Location: Midwestern USA
BigEd wrote:
http://img.cleverworldnet.com/tmp/M37702E4BFP__001.pdf (500 page user manual)

I tried that one and got:

Quote:
Forbidden

You don't have permission to access /tmp/M37702E4BFP__001.pdf on this server.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Sun Sep 15, 2019 5:23 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10837
Location: England
Thanks, I've adjusted the head post. (Would be fine to send this kind of thing as a PM!)


Top
 Profile  
Reply with quote  
PostPosted: Mon Sep 16, 2019 2:41 am 
Offline

Joined: Thu Mar 10, 2016 4:33 am
Posts: 170
It's interesting to see how the 6502 gets extended. As well as new instructions Mitsubishi added an instruction queue to speed instruction loads. Rockwell extended their 6502 with Forth instructions as well as a quite nice banking system. Their modems ended up with a lot of ROM, sometimes in 128k chips, with 4 decoded address lines this gave an address range of 512k all in 8k banks. Software could also control a /2 or /4 speed selection for slower memories. This was probably important in their later chips that ran at about 35 MHz.

As far as I know Mitsubishi is the only manufacturer to use a prefix byte to extend the instruction set. Rockwell added multiply and multiply-accumulate, presumably for signal processing, but I think Mitsubishi has the only divide instruction?

All the improvements are for microcontroller use, there was never anything beyond the 65816 for general purpose computing, where caches and virtual memory would have become useful as well as a full maths co-processor or instructions. The MC68881 is normally connected to a 68000 bus, but it does have a memory mapped option that can be linked to the 6502 bus, so that can be considered a possible FPU for the 6502 line.


Top
 Profile  
Reply with quote  
PostPosted: Mon Sep 16, 2019 3:11 pm 
Offline

Joined: Tue Sep 03, 2002 12:58 pm
Posts: 306
The 7900 is an interesting one. It looks like a simple extension, but the instruction encoding is entirely different. LDA immediate is 16, for example, not A9. That lets them assign the valuable one-byte encodings to the more common instructions, rather than having to fit their new ones in whatever space they can find.

And I like the multiple direct page registers! The direct page is split into four mini-pages of 64 bytes each, with the top two bits of the address saying which mini-page it is in. Each mini-page has its own 16 bit direct page register. If they're initialised to $0000, $0040, $0080, $00C0, it will look exactly like the 6502's zero page. But they can point anywhere (in the first bank) - you might have two pointing to RAM, one to a table of constants in ROM, and one to I/O, for example. That's a great idea.

The byte instructions are another improvement. You can leave the processor in 16 bit mode, and use different instructions to operate on 8 bit data. With the addition of 32 bit operations, that's a much more sensible approach. It's strange that they kept the mode bits, given that they've already thrown away binary compatibility.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: