Home
last modified time | relevance | path

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

/hal_rpi_pico-3.7.0-3.6.0-3.5.0/tools/pioasm/
Dpio_disassembler.h16 std::string disassemble(uint16_t inst, uint sideset_bits, bool sideset_opt);
17 extern "C" void disassemble(char *buf, int buf_len, uint16_t inst, uint sideset_bits, bool sideset_…
19 void disassemble(char *buf, int buf_len, uint inst, uint sideset_bits, bool sideset_opt);
Dpio_disassembler.cpp12 extern "C" void disassemble(char *buf, int buf_len, uint16_t inst, uint sideset_bits, bool sideset_… in disassemble() argument
13 if (buf_len) buf[disassemble(inst, sideset_bits, sideset_opt).copy(buf, buf_len - 1)] = 0; in disassemble()
16 std::string disassemble(uint16_t inst, uint sideset_bits_including_opt, bool sideset_opt) { in disassemble() argument
18 uint major = inst >> 13u; in disassemble()
19 uint arg1 = ((uint) inst >> 5u) & 0x7u; in disassemble()
20 uint arg2 = inst & 0x1fu; in disassemble()
160 uint delay = ((uint) inst >> 8u) & 0x1f; in disassemble()
Dpython_output.cpp100 const auto &inst = program.instructions[i]; in output() local
101 if (!(inst >> 13u)) { in output()
103 uint target = inst &0x1fu; in output()
109 const auto &inst = program.instructions[i]; in output() local
117 …fprintf(out, " %s # %d\n", disassemble(jmp_labels, inst, program.sideset_bits_including_opt.get… in output()
154 …static std::string disassemble(const std::map<uint, std::string>& jmp_labels, uint16_t inst, uint … in disassemble()
156 uint major = inst >> 13u; in disassemble()
157 uint arg1 = ((uint) inst >> 5u) & 0x7u; in disassemble()
158 uint arg2 = inst & 0x1fu; in disassemble()
313 op_guts(std::to_string(inst)); in disassemble()
[all …]
Dada_output.cpp125 const auto &inst = program.instructions[i]; in output() local
132 fprintf(out, " 16#%04x#%s -- %2d: %s\n", inst, trailing_comma.c_str(), i, in output()
133 … disassemble(inst, program.sideset_bits_including_opt.get(), program.sideset_opt).c_str()); in output()
Dc_sdk_output.cpp93 const auto &inst = program.instructions[i]; in output() local
97 fprintf(out, " 0x%04x, // %2d: %s\n", inst, i, in output()
98 … disassemble(inst, program.sideset_bits_including_opt.get(), program.sideset_opt).c_str()); in output()
Dpio_assembler.cpp38 void program::add_instruction(std::shared_ptr<instruction> inst) { in add_instruction() argument
44 throw syntax_error(inst->location, msg.str()); in add_instruction()
46 if (!sideset_opt && !inst->sideset) { in add_instruction()
49 throw syntax_error(inst->location, msg.str()); in add_instruction()
51 instructions.push_back(inst); in add_instruction()
342 … std::back_inserter(cprogram.instructions), [&](std::shared_ptr<instruction> &inst) { in write_output() argument
343 return inst->encode(program); in write_output()
Dpio_types.h278 void add_instruction(std::shared_ptr<instruction> inst);
/hal_rpi_pico-3.7.0-3.6.0-3.5.0/src/rp2_common/hardware_irq/
Dirq.c176 static inline void *resolve_branch(uint16_t *inst) { in resolve_branch() argument
177 assert(0x1c == (*inst)>>11u); in resolve_branch()
178 int32_t i_addr = (*inst) << 21u; in resolve_branch()
180 return inst + 2 + i_addr; in resolve_branch()