Learn with SHAKTI

CS2610: Assembly Language Lab



Assignment 2

Write an assembly program to generate and handle any 5 exceptions mentioned in RISC-V priv spec v1.10 mcause table.

Assignment 2.1

Generate a timer interrupt using spike simulator. The timer interrupt should be handled using vector based interrupt.

Assignment 2.2

Write a machine timer interrupt handler code.