Home
last modified time | relevance | path

Searched refs:disasm (Results 1 – 1 of 1) sorted by relevance

/DragonOS/kernel/crates/rbpf/tests/
H A Ddisassembler.rs12 macro_rules! disasm { macro
29 disasm!(""); in test_empty()
35 disasm!("exit"); in test_exit()
41 disasm!("add64 r1, r3"); in test_add64()
42 disasm!("add64 r1, 0x5"); in test_add64()
48 disasm!("neg64 r1"); in test_neg64()
54 disasm!("ldxw r1, [r2+0x5]"); in test_ldxw()
60 disasm!("stw [r2+0x5], 0x7"); in test_stw()
66 disasm!("stxw [r2+0x5], r8"); in test_stxw()
72 disasm!("ja +0x8"); in test_ja()
[all …]