1-2 challenge solved (only impl in RM_TF_R)

This commit is contained in:
Hane 2026-01-27 15:45:42 +01:00
commit b8f6e05689
7 changed files with 72 additions and 53 deletions

View file

@ -1,10 +1,17 @@
bits 16
; Signed displacements
mov ax, [bx - 100]
mov ax, [bx - 1000]
mov ax, [bx - 3]
mov ax, [bx + 3]
mov ax, [bx + 200]
mov ax, [bx + 2000]
mov ax, [bx + di - 40000]
mov ax, [bx + di - 37]
mov [si - 300], cx
mov dx, [bx - 32]
; Explicit sizes
mov [bp + di], byte 7
mov [di + 901], word 347
@ -16,7 +23,7 @@ mov bx, [3458]
; Memory-to-accumulator test
mov ax, [2555]
mov ax, [16]
; Accumulator-to-memory test
mov [2554], ax
mov [15], ax