diff --git a/src/a0.1.add.asm b/src/a0.1.add.asm new file mode 100644 index 0000000..1dd8333 --- /dev/null +++ b/src/a0.1.add.asm @@ -0,0 +1,7 @@ + org 100h + cpu 8086 + +START: mov al, 8 + mov bl, 20 + add al, bl + jmp START diff --git a/src/a0.1.sub.asm b/src/a0.1.sub.asm new file mode 100644 index 0000000..99f0f26 --- /dev/null +++ b/src/a0.1.sub.asm @@ -0,0 +1,7 @@ + org 100h + cpu 8086 + +START: mov al, 8 + mov bl, 20 + sub al, bl + jmp START diff --git a/src/a0.2.and.asm b/src/a0.2.and.asm new file mode 100644 index 0000000..e653217 --- /dev/null +++ b/src/a0.2.and.asm @@ -0,0 +1,7 @@ + org 100h + cpu 8086 + +START: mov al, -8 + mov bl, 13 + and al, bl + jmp START diff --git a/src/a0.2.or.asm b/src/a0.2.or.asm new file mode 100644 index 0000000..c529c40 --- /dev/null +++ b/src/a0.2.or.asm @@ -0,0 +1,7 @@ + org 100h + cpu 8086 + +START: mov al, -8 + mov bl, 13 + or al, bl + jmp START diff --git a/src/a0.3.add.asm b/src/a0.3.add.asm new file mode 100644 index 0000000..19b9974 --- /dev/null +++ b/src/a0.3.add.asm @@ -0,0 +1,7 @@ + org 100h + cpu 8086 + +START: mov al, -1 + mov bl, -1 + add al, bl + jmp START diff --git a/src/a0.3.xor.asm b/src/a0.3.xor.asm new file mode 100644 index 0000000..42fa4e4 --- /dev/null +++ b/src/a0.3.xor.asm @@ -0,0 +1,7 @@ + org 100h + cpu 8086 + +START: mov al, -1 + mov bl, -1 + xor al, bl + jmp START diff --git a/src/a1.asm b/src/a1.asm new file mode 100644 index 0000000..7c74aed --- /dev/null +++ b/src/a1.asm @@ -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 diff --git a/src/a2.asm b/src/a2.asm new file mode 100644 index 0000000..0a1399e --- /dev/null +++ b/src/a2.asm @@ -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