(addr)
| 96 | } |
| 97 | |
| 98 | generateSegment(addr) { |
| 99 | this.currentSegment = (addr & 0xffff0000); |
| 100 | let out = ":02000002" + ("0000" + (this.currentSegment>>4).toString(16)).slice(-4); |
| 101 | let chk = this.hexChecksum(out); |
| 102 | return (out + chk).toUpperCase(); |
| 103 | } |
| 104 | |
| 105 | run() { |
| 106 | const source = new Uint8Array(this.readFileBuffer(this.sourcePath)); |
no test coverage detected