fn w8(&mut self, offset: u32, val: u8) -> MemResult<()> {
        if offset & 0x3 != 0 {
            Err(MemException::Misaligned)
        } else {
            self.w32(offset, val as u32)
        }
    }
/// Write a 8 bit value to the given offset
Write a 8 bit value to the given offset
Write a 8 bit value to the given offset
fn w8(&mut self, offset: u32, val: u8) -> MemResult<()> {
        if offset & 0x3 != 0 {
            Err(MemException::Misaligned)
        } else {
            self.w32(offset, val as u32)
        }
    }
fn w8 ( & mut self , offset : u32 , val : u8 ) -> MemResult < ( ) > { if offset & 0x3 != 0 { Err ( MemException :: Misaligned ) } else { self . w32 ( offset , val as u32 ) } }
Write a 8 bit value to the given offset
Write a 8 bit value to the given offset
&mut self
offset
u32
val
u8
&mut self
offset
u32
val
u8