From 64a17f3e0683a0a492a3fed9c4c17a4335d1f421 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Sun, 2 May 2021 19:10:15 +0200 Subject: Simplify ds segment register management --- src/boucane.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/boucane.cc') diff --git a/src/boucane.cc b/src/boucane.cc index 888dced..78884ac 100644 --- a/src/boucane.cc +++ b/src/boucane.cc @@ -58,12 +58,14 @@ void configure_tss(){ void task1(){ while(1){ + asm("mov $0xABC, %rax"); asm("mov $1, %rdi;int $0x30"); } } void task2(){ while(1){ + asm("mov $0xAEBC, %rax"); asm("mov $2, %rdi;int $0x30"); } } -- cgit v1.2.3