byte.inc

Summary
byte.inc
Byte manipulation macros.
stbStore a byte at stated memory location.
negNegate value.
addAdd a byte to accumulator.
subSubstract byte from accumulator.

Byte manipulation macros.

stb

Store a byte at stated memory location.

Assembly call

stb p0, p1

Parameters

p0Input data.
p1Output memory location.

Restrictions

p0Zero Page, Absolute or Immediate.
p1Zero Page or Absolute.

neg

Negate value.

Assembly call

neg p0

Parameter

p0Memory location.

Restrictions

p0Zero Page or Absolute.

add

Add a byte to accumulator.

Assembly call

add p0

Parameter

p0Operand.

sub

Substract byte from accumulator.

Assembly call

sub p0

Parameter

p0Operand.
Close