(addr, length)
| 125 | } |
| 126 | |
| 127 | function read(addr, length) { |
| 128 | for (let i = 0; i < 8; i++) |
| 129 | g_relative_rw[g_ab_index + OFFSET_JSAB_VIEW_VECTOR + i] = addr.byteAt(i); |
| 130 | let arr = []; |
| 131 | for (let i = 0; i < length; i++) |
| 132 | arr.push(g_ab_slave[i]); |
| 133 | return arr; |
| 134 | } |
| 135 | |
| 136 | function read64(addr) { |
| 137 | return new Int64(read(addr, 8)); |