In my introduction to computers class, we wrote an assembly program for the MC68332 microcontroller. I know this microcontroller is 32-bit because I read it in the datasheet. I was wondering if there is a way to determine this by looking at the LST file generated when assembling the asm source code.
In my introduction to computers class, we wrote an assembly program for the MC68332
Share
The first column ist the address of the instructions, the second group are the operations to be executed aka opcodes or instructions, and the last field are the instructions translated to human readable form, commonly known as assembly.
On this processor the opcodes consume usually a multiple of 16 bit (2 bytes), thats the reason you see only even addresses. Despite this, it is a 32 bit processor, this is mainly because of its address space of 2^32. This is the reason you see the addresses eight digits wide, each digit encodes 4 bits.
You can guess that it is a 32 bit processor from the
.Lsuffix of some instructions, it is short for “long” which is usually 32 bit, so this processor has additionally the ability to process 32 bit wide instructions.