diff options
| author | Alejandro Soto <alejandro@34project.org> | 2022-10-16 16:01:47 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2022-10-16 16:01:47 -0600 |
| commit | 3aca2967a35d05dac3d9121a882d608b10a588bb (patch) | |
| tree | 25a8d37d6213f518b9ff95ef8b4de30a337a1b2d /tb/sim/start.S | |
| parent | 2e6ce7931b690ccec1e41fa6847dfc1351c59d75 (diff) | |
Implement simulation testbenches
Diffstat (limited to 'tb/sim/start.S')
| -rw-r--r-- | tb/sim/start.S | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/tb/sim/start.S b/tb/sim/start.S new file mode 100644 index 0000000..54a8d1f --- /dev/null +++ b/tb/sim/start.S @@ -0,0 +1,30 @@ +.section .interrupt_vector + +__reset: + b _start + +__undefined: + b __undefined + +__swi: + b __data_abort + +__prefetch_abort: + b __prefetch_abort + +__data_abort: + b __data_abort + +__irq: + b __irq + +__fiq: + b __fiq + +.text + +.global _start +_start: + ldr sp, =_stack_end + bl reset + b . |
