This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Bug in a51

I habe used by mistake the following line:
DW 0000B

the line assembles without any error to 0000h

Shouldn't there not some kind of error message?

Parents
  • Shouldn't there not some kind of error message?
    WHY, Zero is a perfectly legal binary number.

    Let me give an example why it would be wrong to make it illegal (which it is not in the first place)

    values_for_joe{
    01111001b,
    01010011b,
    01000000b,
    01100000b,
    11001110b}

    If zero binary were illegal the above table would look like crap

    Erik

Reply
  • Shouldn't there not some kind of error message?
    WHY, Zero is a perfectly legal binary number.

    Let me give an example why it would be wrong to make it illegal (which it is not in the first place)

    values_for_joe{
    01111001b,
    01010011b,
    01000000b,
    01100000b,
    11001110b}

    If zero binary were illegal the above table would look like crap

    Erik

Children