Thursday, May 26, 2005

MSP430 SystemC Model

I worked on creating the functions of the MSP430 in SystemC. After some experimentation, I arrived at a simplistic model for a function template that can be used for most of the functions. The MSP430 has 27 instructions ranging from logic functions to arithmetic functions to branch and jump instructions (among others). These simple instructions are the basic of the RISC model for the MSP430, and many more functions can be created from these instructions.

The list of instructions:

0100 MOV
0101 ADD
0110 ADDC
0111 SUBC
1001 SUB
1001 CMP
1010 DADD
1011 BIT
1100 BIC
1101 BIS
1110 XOR
1111 AND

000 JNE/JNZ
001 JEQ/Z
010 JNC/JLO
011 JC/JHS
100 JN
101 JGE
110 JL
111 JMP

000 RRC
001 SWPB
010 RRA
011 SXT
100 PUSH
101 CALL
110 RETI

1 Comments:

At 7/13/2008 11:32 PM, Anonymous Anonymous said...

hie joe...
nice work!!i am working with MSP430 and i would like to know can u provide me with some links that mite b useful in studyin a processor??or sum research topics??

 

Post a Comment

<< Home