Skip to content
This repository has been archived by the owner on Jun 26, 2024. It is now read-only.

Commit

Permalink
Côme fixs
Browse files Browse the repository at this point in the history
  • Loading branch information
Luminosaa committed Dec 29, 2023
1 parent 20bc5f0 commit 64027e4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
*.dylib

# Executables
clock
fibonacci
arm_simulator
memory_test
registers_test
Expand Down
11 changes: 6 additions & 5 deletions Examples/my_syscalls.s
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
.global my_exit
.global my_putchar
.global my_printint
.global acquitter_irq
.global my_printint
.global acquitter_irq

my_exit:
swi 0x123456
my_putchar:
swi 0x000001
mov pc, lr
my_printint:
swi 0x000002
mov pc, lr
mov pc, lr
acquitter_irq:
swi 0xFFFFFF
mov pc, lr
swi 0xFFFFFF
mov pc, lr

0 comments on commit 64027e4

Please sign in to comment.