Skip to content

Add byte and short types #3

@Hawkbat

Description

@Hawkbat

The types short, ushort, byte, and sbyte should be added, in order to facilitate memory-constrained operations (such as emulating an 8-bit CPU).

As WASM does not currently support signed i8 or i16 arithmetic, the types would need to be restricted to being used in struct fields only, or extra truncation operations would need to be generated during operations. I haven't decided yet if the truncation is worthwhile.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions