83Plus:BCALLs:80B1

From WikiTI
Jump to: navigation, search

Synopsis

Official Name: Div32By16

BCALL Address: 80B1

Divide a 32-bit number stored in OP1 by DE.

Inputs

  • OP1: 32-bit big endian dividend
  • DE: divisor

Outputs

  • OP1: 32-bit big endian quotient
  • OP2: 32-bit big endian remainder

Destroys

Comments

This routine is rather inefficient.