(addr, length)
| 187 | } |
| 188 | |
| 189 | function read(addr, length) { |
| 190 | for (let i = 0; i < 8; i++) |
| 191 | g_relative_rw[g_ab_index + OFFSET_JSAB_VIEW_VECTOR + i] = addr.byteAt(i); |
| 192 | let arr = []; |
| 193 | for (let i = 0; i < length; i++) |
| 194 | arr.push(g_ab_slave[i]); |
| 195 | return arr; |
| 196 | } |
| 197 | |
| 198 | function read64(addr) { |
| 199 | return new Int64(read(addr, 8)); |