From a3ae9e5d0ed8aa1ab10f559ee04916ec8aec89d4 Mon Sep 17 00:00:00 2001 From: Crystal Date: Thu, 7 Mar 2024 20:55:36 +0100 Subject: Add stuff --- src/org/blog/assembly/1.org | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/org/blog/assembly') diff --git a/src/org/blog/assembly/1.org b/src/org/blog/assembly/1.org index dcd205d..0ed897b 100644 --- a/src/org/blog/assembly/1.org +++ b/src/org/blog/assembly/1.org @@ -80,9 +80,10 @@ MOV [DS:0234h], 0x0005 #+END_SRC Why ? Let's break it down : -[[../../src/gifs/lain-dance.gif]] +[[../../src/gifs/lain-dance.gif]] + We Already know that *Effective = 10h x Segment + Offset*, So here we have : *1234h = 10h x DS + Offset*, we already know that *DS = 0100h*, we end up with this simple equation *1234h = 1000h + Offset*, therefor the Offset is *0234h* -- cgit 1.4.1-2-gfad0