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