Skip to content

Simpler 6 #5

@markjfisher

Description

@markjfisher

You can reduce the lines of code by 1 by moving the input to the accumulator immediately, doing the maths, then sending acc to p1.

  mov p0 acc
  teq x0 10
+ mul 4
+ sub 150
  mov acc p1
  slp 1

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