ЛР16. Рефактор методички (#97)

* ЛР16. Рефактор методички

* Apply suggestions from code review
This commit is contained in:
Andrei Solodovnikov
2024-07-29 16:15:48 +03:00
committed by GitHub
parent 59510a522b
commit 73e521687e
4 changed files with 115 additions and 106 deletions

View File

@@ -31,8 +31,8 @@ _irq_config:
li t1, -1 # -1 (все биты равны 1) означает, что разрешены все прерывания
la t2, _trap_stack_ptr
csrw mtvec, t0
csrw mie, t1
csrw mscratch, t2
csrw mie, t1
# Вызов функции main
_main_call: