Skip to content
This repository was archived by the owner on Sep 6, 2023. It is now read-only.
This repository was archived by the owner on Sep 6, 2023. It is now read-only.

machine.mem32[] returns signed 32bit integers #81

Open

Description

@oddstr13

I would expect unsigned integers here.

Activity

  1. dpgeorge commented on May 9, 2017

    @dpgeorge
    Member

    Yes, it's possible that unsigned integers would be the more common use. But it's easy to get around the current behaviour: just do mem32[addr] & 0xffffffff.

    It could be argued that there should be signed and unsigned accessors, like mem32 for signed and umem32 for unsigned.

  2. nickzoic commented on Aug 3, 2017

    @nickzoic
    Collaborator

    (yeah, I think we should fix that ... but that'd be all the ports, right?

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions