Functional Verification of Macro
Library using Microchip MPSIM Simulator
Concept
Project Resources
Available Microchip PIC
Assembler Source Code
Seeks to verify the arithmetics of the 16-bit macro library
m_16bit.asm, i.e.,
CLR16, MOV16, NEG16, ADD16, SUB16, CMP16, LSR16, LSL16, INC16,
and DEC16 operations and the corresponding immediate operations,
if applicable.
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: test_16bit.asm |
Download Hex File: not applicable |
The above program needs additional include files (modules) to get successfully assembled: m_bank.asm, m_16bit.asm |
Last updated: 2010/05/14