Skip to content

NASM will silently accept 'mov [mem], label' without size specifier. #182

@krinor

Description

@krinor

For example, 'mov [es:bx], label' will assemble to 'mov BYTE [es:bx], label' without any complaints. In other words, only the low byte of the address to 'label' will be used, which is probably not what the programmer intended.

To avoid programmer hair loss, NASM really should complain if someone forgot to add a size specifier. :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions