Friday, June 10, 2005

MSP430 SystemC Model

The model now contains a memory module that serves as the 64K memory that the MSP430 uses. The addressing modes of the MSP430 are confusing - depending on which registers are used, the addressing mode bits mean different things. This allows the microcontroller to have 7 addressing modes available, while only being able to select out of a maximum of 4 at a time (depending on the operation type).

The initial thought that the MSP430 was RISC-like is becoming more and more dissolved as I continue. The addressing modes are an example of this. It may have only 27 instructions, but the addressing modes and other characteristics complicate this notion.

Most of the instructions are now working for the direct addressing mode. Work is continuing to make the other addressing modes perform correctly.

0 Comments:

Post a Comment

<< Home