remove now dead code

This commit is contained in:
Sam M W 2023-04-03 07:36:50 +01:00
parent 0708a1084c
commit 672defd817
1 changed files with 0 additions and 10 deletions

View File

@ -132,16 +132,6 @@ pub enum AddressingMode {
// zero page address) plus Y register
}
fn xextend(x: u8) -> u16 {
u16::from(x)
}
fn arr_to_addr(arr: &[u8]) -> u16 {
debug_assert!(arr.len() == 2);
u16::from(arr[0]) + (u16::from(arr[1]) << 8usize)
}
impl AddressingMode {
pub fn extra_bytes(self) -> u16 {
match self {