Skip to main content

mem_load2

Function mem_load2 

Source
pub fn mem_load2(ram: &[u8], ofs: u32) -> u32
Expand description

Load 2 bytes, zero-extended to 32 bits (LHU). Handles unaligned offsets.