Sida 1 av 1

MAXQ?

Postat: 4 maj 2012, 17:56:46
av 4kTRB
Någon som vet något bra om Maxims processor MAXQ?
http://www.maxim-ic.com/products/microc ... s/maxq.cfm

Re: MAXQ?

Postat: 4 maj 2012, 20:30:35
av exile
Jag har personligen inte använt MAXQ, men lösningen på deras "cpu" är lite rolig (ovanlig).
The MAXQ instruction word is unique because there is only one instruction in the classical sense, the "MOVE" instruction. The source and destination operands for the "MOVE" instruction are the basis for creating instructions and memory accesses, and triggering hardware operations. Dissecting the 16-bit MAXQ instruction word reveals only two components: a 7-bit destination field and an 8-bit source field accompanied by a source format bit. The source format bit, when coded as 0, allows any immediate or literal byte value (i.e., #00h-#FFh) to be supplied as a source operand. Unrestricted support for any immediate byte source within a single instruction word can be very valuable during register initialization routines and when performing ALU operations.
Tur nog så har de "döpt" om några move till vanliga instruktions namn.
Annars kan det bli lite jobbigt att läsa assembler koden.

Och alla instruktioner tar 1 klockcykel.
While many RISC microcontrollers claim to support single-cycle execution, this often applies to a small subset of instructions or addressing modes. With the MAXQ, single-cycle execution is the norm.
Och den är strömsnål, men hur bra den är mot en mer "normal" uC är svårt att säga.