Archived
1
0

additional fixes

This commit is contained in:
Erick
2022-03-27 16:17:06 +02:00
parent 9a473d1e9e
commit a657c66e09
3 changed files with 19 additions and 18 deletions
+11 -9
View File
@@ -1,13 +1,15 @@
.model small
section .data
dt screenMem 16383 ; screen memory address
dt screenLen 8192 ; screen memory length
dt kbdMem 24575 ; keyboard memory address
section .bss
dt kbdIn ; keyboard input value
section .text
global main
main:
section .data
dt screenMem 16384 ; screen memory address
dt screenLen 8192 ; screen memory length
dt kbdMem 24576 ; keyboard memory address
section .bss
dt kbdIn ; keyboard current input (16-bit)
; keyboard current input (16-bit)
+3 -3
View File
@@ -1,12 +1,12 @@
.model small
section
global main
section .data
a db 8
b db 3
section .text
global main
main:
; initialization
mov ax, @data
+5 -6
View File
@@ -1,8 +1,4 @@
section.text
global main
main:
.model small
section.data
; allocating n.8 16-bit registers
@@ -22,4 +18,7 @@ section.data
dw THIS 3
dw THAT 4
; section.bss
section.text
global main
main: