loadProgramFromBytes(bytes) {
    if (bytes.byteLength > this.PROGRAM_SIZE) {
      throw new Error(
          `Program size ${bytes.byteLength} larger than available.`);
    }
    this.setMemory(bytes, this.PROGRAM_OFFSET);
    this.setPC(this.PROGRAM_OFFSET);
  }
/**
   * Loads the program from the bytes.
   *
   * @param {Uint8Array} bytes program bytes.
   */
Loads the program from the bytes.
@param {Uint8Array} bytes program bytes.
Loads the program from the bytes . @param { Uint8Array } bytes program bytes .
loadProgramFromBytes(bytes) {
    if (bytes.byteLength > this.PROGRAM_SIZE) {
      throw new Error(
          `Program size ${bytes.byteLength} larger than available.`);
    }
    this.setMemory(bytes, this.PROGRAM_OFFSET);
    this.setPC(this.PROGRAM_OFFSET);
  }
loadProgramFromBytes ( bytes ) { if ( bytes . byteLength > this . PROGRAM_SIZE ) { throw new Error ( ` ${ bytes . byteLength } ` ) ; } this . setMemory ( bytes , this . PROGRAM_OFFSET ) ; this . setPC ( this . PROGRAM_OFFSET ) ; }
Loads the program from the bytes.
Loads the program from the bytes .