svenstaro / uni-projekt

Projekt Mikrocomputer
GNU General Public License v3.0
0 stars 1 forks source link

semicolon in asciiz is not possible #6

Closed hellow554 closed 10 years ago

hellow554 commented 10 years ago
.asciiz "Hello; World"

.

"../assembler/assembler.py" strings/strlen.s
Traceback (most recent call last):
  File "../assembler/assembler.py", line 59, in <module>
    entry_point(sys.argv)
  File "../assembler/assembler.py", line 46, in entry_point
    stream = encodeCommandStream(lines)
  File "../assembler/../assembler/__init__.py", line 67, in encodeCommandStream
    d = parseData(line, data, EncodingState(labels, pos))
  File "../assembler/../assembler/__init__.py", line 108, in parseData
    return d.fromText(line, state)
  File "../assembler/../assembler/data/asciizData.py", line 14, in fromText
    inner = super(AsciizData, cls).fromText(arg, state)
  File "../assembler/../assembler/data/asciiData.py", line 28, in fromText
    raise ex
assembler.errors.encodingerror.EncodingError: EncodingError: .asciiz "Hello is not a valid AsciizData
make: *** [strings/strlen.s.out] Error 1