From 26685f5203bc38cfa082b96182a406f4f7e6435a Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Mon, 30 Dec 2019 14:36:31 +0100 Subject: implement getchar() and putchar() in terms of supervisor call --- svc.S | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 svc.S (limited to 'svc.S') diff --git a/svc.S b/svc.S new file mode 100644 index 0000000..65200d8 --- /dev/null +++ b/svc.S @@ -0,0 +1,5 @@ +.global svc + +svc: + svc #0 + mov pc, lr -- cgit v1.2.3