feat(cpu): charge non-refill code at pipeline fetch addresses

This commit is contained in:
0xrsydn 2026-10-06 15:34:45 +07:00
commit 0650b60908
26 changed files with 413 additions and 46 deletions

View file

@ -11,6 +11,12 @@ pub(crate) struct InstructionFetch {
pub(super) bus_word: Option<u32>,
}
impl InstructionFetch {
pub(crate) fn address(&self) -> u32 {
self.address
}
}
impl Memory {
pub(crate) fn fetch_instruction(
&self,