Skip to content

Large immediate values are not rejected. #37

Description

@rdnelson

The following code does not generate any assembler warnings or errors

mov ax, 0xFFFFFFFF

This produces the following code

B8 FF 00 // MOV AX, 0x00FF

This is incorrect, because the literal cannot be stored in the specified register, so the assembler should throw either a warning or an error.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions