Skip to content

Missing tests #2

Description

@aaaaaa123456789

While I don't have any reason to suspect the instructions are executing incorrectly, the following cases are not tested at all:

  • ifle/ifge
  • xordata with size 0
  • fillbyte/fillhalfword/fillword with count 0
  • fillhalfword/fillword with overflowing counts (e.g., 0x80000001)
  • zero-initialization of registers #0 and #1
  • the various operand combinations for shift instructions (since it is the only case where the first byte doesn't fully determine the instruction's length and its operands)
  • overflowing the buffer with bufchar/bufstring/bufnumber (e.g., putting a (valid) bufstring instruction inside an infinite loop)
  • bufchar 0 followed by another bufchar/bufstring/bufnumber (the null character must not cause the rest of the output to be suppressed)

I'll comment if I find any others missing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions