additional fixes
This commit is contained in:
+11
-9
@@ -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
@@ -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
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user