|mspgcc||| Home | Documentation | mspgcc Project page on SourceForge|
Single Line MSP430 Assembler
You can enter a line of assembler code in the text field below. The resulting machine code along with data words is then printed.
Example: "mov #7, R6"
Description of output:
The jump instructions (jxx, e.g. jmp) expect a byte offset, relative to the current position. Only nummeric offsets are allowed. The linker would need to calculate the offset when using labels.
This software uses the constant registers of the MSP. However the result can differ from other assembers.
Here you can disassemble a series of word values. It's the opposite of the operation above.
Example: 0x4035 0x0007
The input can be hex or dec. If not enough numbers are passed, the output can contain the string "UNKNOWN". This happens e.g. when an instruction requires an immediate value but only one value was given.
And as usual - no warranties that the given information is correct. Use at your own risk.