Ich verstehe die Fehler nicht
-
Hi,
ich habe gerade mein erstes Assembler Programm aus einem Buch abgeschrieben und habe probiert das ganze mit "tasm asm1.asm" zu asseblieren. Dabei habe ich Fehler bekommen die ich noch nicht verstehe. Kann mir jemand helfen?
____________________________________________________________
Programm:
DATEN SEGMENT
Meldung db"Assembler ist zeimlich schwer"
db"$"DATEN ENDS
CODE SEGMENT
ASSUME CS:CODE, DS:DATEN
Anfang: mov ax,DATEN
mov ds,ax
mov dx,offset Meldung
mov ah,9
int 21h
mov ah,4Ch
int 21hCODE ENDS
END Anfang____________________________________________________________
FEHLER:
TASM Assembler. Version 3.2 September, 2001.
Copyright (C) 2001 Squak Valley Software
tasm: pass 1 complete.
asm1.asm line 0001: Label not found: (DATEN)
asm1.asm line 0001: label value misalligned. (DATEN)
asm1.asm line 0001: unrecognized instruction. (DATEN)
asm1.asm line 0003: Label not found: (Meldung)
asm1.asm line 0003: label value misalligned. (Meldung)
asm1.asm line 0003: unrecognized instruction. (Meldung)
asm1.asm line 0004: unrecognized instruction. (DB"$")
asm1.asm line 0006: Label not found: (DATEN)
asm1.asm line 0006: label value misalligned. (DATEN)
asm1.asm line 0006: unrecognized instruction. (DATEN)
asm1.asm line 0008: Label not found: (CODE)
asm1.asm line 0008: label value misalligned. (CODE)
asm1.asm line 0008: unrecognized instruction. (CODE)
asm1.asm line 0010: unrecognized instruction. (ASSUME)
asm1.asm line 0012: Label not found: (Anfang)
asm1.asm line 0012: label value misalligned. (Anfang)
asm1.asm line 0012: unrecognized instruction. (Anfang)
asm1.asm line 0013: unrecognized instruction. (MOV)
asm1.asm line 0014: unrecognized instruction. (MOV)
asm1.asm line 0015: unrecognized instruction. (MOV)
asm1.asm line 0016: unrecognized instruction. (INT)
asm1.asm line 0017: unrecognized instruction. (MOV)
asm1.asm line 0018: unrecognized instruction. (INT)
asm1.asm line 0020: Label not found: (CODE)
asm1.asm line 0020: label value misalligned. (CODE)
asm1.asm line 0020: unrecognized instruction. (CODE)
asm1.asm line 0021: unrecognized instruction. (END)
line 0021: No END directive before EOF.
tasm: pass 2 complete.
tasm: Number of errors = 28
-
Hi.
Dein TASM (Telemark Cross Assembler) ist ein Assembler fuer µController - damit kannst du keinen x86-kompatiblen Code erstellen.
Was Du brauchst ist der Turbo Assembler (von Borland).