Searched refs:instruction (Results 1 – 3 of 3) sorted by relevance
/DragonOS/kernel/crates/rbpf/src/ |
H A D | asm_parser.rs | 92 fn instruction<I>() -> impl Parser<I, Output = Instruction> in instruction() function 108 let mut with = spaces().with(many(instruction()).skip(eof())); in parse() 132 use super::{ident, instruction, integer, operand, parse, register, Instruction, Operand}; 184 instruction().parse("exit"), in test_instruction() 195 instruction().parse("call 2"), in test_instruction() 206 instruction().parse("addi r1, 2"), in test_instruction() 217 instruction().parse("ldxb r2, [r1+12]"), in test_instruction() 228 instruction().parse("lsh r3, 0x8"), in test_instruction() 239 instruction().parse("jne r3, 0x8, +37"), in test_instruction() 255 instruction().parse("jne r3,0x8,+37"), in test_instruction()
|
H A D | assembler.rs | 216 for instruction in parsed { in assemble_internal() 217 let name = instruction.name.as_str(); in assemble_internal() 220 match encode(inst_type, opc, &instruction.operands) { in assemble_internal() 226 if let Integer(imm) = instruction.operands[1] { in assemble_internal()
|
/DragonOS/kernel/crates/rbpf/ |
H A D | README.md | 502 Conversely, a disassembler is also available to dump instruction names from 533 for the syntax and the list of instruction names. 537 The other way to build programs is to chain commands from the instruction
|