pamoja for TypeScript - v0.2.0
    Preparing search index...

    Class WordPart

    A part that is not there, answering from 256 registers sixteen bits wide.

    A pointer byte names a register and a register travels most significant byte first. A write of the pointer alone aims the next read; a write of the pointer and a word stores the word; a read takes words from the pointer on. Bits the part sets for itself, such as a conversion-ready flag, are marked with readOnly and keep the part's value whatever a driver writes.

    Index
    • get transfers(): number

      How many transfers the part has served.

      Returns number

    • Marks bits of one register as the part's to set: a driver's write leaves them as the part holds them.

      Parameters

      • register: number
      • mask: number

      Returns void

    • Puts a value in one register, read-only bits included, the way the part itself would.

      Parameters

      • register: number
      • value: number

      Returns void

    • What one register holds now, which is what a driver wrote there apart from the read-only bits.

      Parameters

      • register: number

      Returns number