fn branch_cycles(pc: u16, address: u16) -> i32 {
    if pages_differ(pc, address) {
        2
    } else {
        1
    }
}
/// Returns the number of extra cycles used by a branch instruction
Returns the number of extra cycles used by a branch instruction
Returns the number of extra cycles used by a branch instruction
fn branch_cycles(pc: u16, address: u16) -> i32 {
    if pages_differ(pc, address) {
        2
    } else {
        1
    }
}
fn branch_cycles ( pc : u16 , address : u16 ) -> i32 { if pages_differ ( pc , address ) { 2 } else { 1 } }
Returns the number of extra cycles used by a branch instruction
Returns the number of extra cycles used by a branch instruction
pc
u16
address
u16
pc
u16
address
u16