a1 Bearbeitung a
This commit is contained in:
parent
edbec0314d
commit
14f2ba66c1
7
src/a0.1.add.asm
Normal file
7
src/a0.1.add.asm
Normal file
@ -0,0 +1,7 @@
|
||||
org 100h
|
||||
cpu 8086
|
||||
|
||||
START: mov al, 8
|
||||
mov bl, 20
|
||||
add al, bl
|
||||
jmp START
|
7
src/a0.1.sub.asm
Normal file
7
src/a0.1.sub.asm
Normal file
@ -0,0 +1,7 @@
|
||||
org 100h
|
||||
cpu 8086
|
||||
|
||||
START: mov al, 8
|
||||
mov bl, 20
|
||||
sub al, bl
|
||||
jmp START
|
7
src/a0.2.and.asm
Normal file
7
src/a0.2.and.asm
Normal file
@ -0,0 +1,7 @@
|
||||
org 100h
|
||||
cpu 8086
|
||||
|
||||
START: mov al, -8
|
||||
mov bl, 13
|
||||
and al, bl
|
||||
jmp START
|
7
src/a0.2.or.asm
Normal file
7
src/a0.2.or.asm
Normal file
@ -0,0 +1,7 @@
|
||||
org 100h
|
||||
cpu 8086
|
||||
|
||||
START: mov al, -8
|
||||
mov bl, 13
|
||||
or al, bl
|
||||
jmp START
|
7
src/a0.3.add.asm
Normal file
7
src/a0.3.add.asm
Normal file
@ -0,0 +1,7 @@
|
||||
org 100h
|
||||
cpu 8086
|
||||
|
||||
START: mov al, -1
|
||||
mov bl, -1
|
||||
add al, bl
|
||||
jmp START
|
7
src/a0.3.xor.asm
Normal file
7
src/a0.3.xor.asm
Normal file
@ -0,0 +1,7 @@
|
||||
org 100h
|
||||
cpu 8086
|
||||
|
||||
START: mov al, -1
|
||||
mov bl, -1
|
||||
xor al, bl
|
||||
jmp START
|
17
src/a1.asm
Normal file
17
src/a1.asm
Normal file
@ -0,0 +1,17 @@
|
||||
org 100h
|
||||
cpu 8086
|
||||
|
||||
jmp START
|
||||
|
||||
BYTE1 db 32
|
||||
db 'Hardwarenahes Programmieren'
|
||||
times 4 db 0, '1'
|
||||
dw 1, 2, 3, 4, 1234
|
||||
dd 1234h
|
||||
|
||||
START: mov bx, BYTE1
|
||||
|
||||
WDH: mov al, [bx]
|
||||
out 0, al
|
||||
inc bx
|
||||
jmp WDH
|
16
src/a2.asm
Normal file
16
src/a2.asm
Normal file
@ -0,0 +1,16 @@
|
||||
org 100h
|
||||
cpu 8086
|
||||
|
||||
jmp START
|
||||
|
||||
BYTE1 db 32
|
||||
db 'Hardwarenahes Programmieren'
|
||||
times 4 db 0, '1'
|
||||
dw 1, 2, 3, 4, 1234
|
||||
dd 1234h
|
||||
|
||||
START: mov bx, BYTE1
|
||||
WDH: mv al, [bx]
|
||||
out 0, al
|
||||
inc bx
|
||||
jmp WDH
|
Loading…
Reference in New Issue
Block a user