pagesDiffer returns true if the two addresses reference different pages
(a, b uint16)
| 287 | |
| 288 | // pagesDiffer returns true if the two addresses reference different pages |
| 289 | func pagesDiffer(a, b uint16) bool { |
| 290 | return a&0xFF00 != b&0xFF00 |
| 291 | } |
| 292 | |
| 293 | // addBranchCycles adds a cycle for taking a branch and adds another cycle |
| 294 | // if the branch jumps to a new page |
no outgoing calls
no test coverage detected