forked from AbleOS/ableos
beepo
This commit is contained in:
parent
631e1dc288
commit
bda8659747
|
@ -27,7 +27,7 @@ impl hbvm::mem::Memory for Memory {
|
|||
source: *const u8,
|
||||
count: usize,
|
||||
) -> Result<(), hbvm::mem::StoreError> {
|
||||
log::info!("Storing memory");
|
||||
// log::info!("Storing memory");
|
||||
|
||||
core::ptr::copy(source, addr.get() as *mut u8, count);
|
||||
Ok(())
|
||||
|
|
|
@ -15,7 +15,7 @@ fn main(){
|
|||
label("start");
|
||||
// store from a register to a local address
|
||||
st(r1, r2, 0xFFFF8000C0000000, 1);
|
||||
addi64(r2, r2, 1);
|
||||
// addi64(r2, r2, 1);
|
||||
|
||||
jltu(r2, r3, "start");
|
||||
|
||||
|
|
Loading…
Reference in a new issue