ЛР14. Обновление скрипта компоновщика и стартап-файла

This commit is contained in:
Andrei Solodovnikov
2024-07-29 16:06:47 +03:00
parent dfee5efcec
commit 59510a522b
3 changed files with 47 additions and 34 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: