Functional Verification of Macro
Library using Microchip MPSIM Simulator
Available Microchip PIC Assembler Source Code
Seeks to verify the arithmetics of the 16-bit macro library
CLR16, MOV16, NEG16, ADD16, SUB16, CMP16, LSR16, LSL16, INC16,
and DEC16 operations and the corresponding immediate operations,
For CMP16 and SUB16 operations, special attention was put on the correct handling of the important status bits, i.e., zero and carry flags.
Verified in MPSIM simulation with breakpoints at start of main and at error handling section.
|Main File||HEX Files|
|Download assembler source code:
|Download Hex File:
|The above program needs additional include files (modules) to get successfully assembled: m_bank.asm, m_16bit.asm|
Last updated: 2010/05/14