Home | History | Annotate | Download | only in apf

Lines Matching full:program_len

55 static void print_jump_target(uint32_t target, uint32_t program_len) {
56 if (target == program_len) {
58 } else if (target == program_len + 1) {
73 uint32_t program_len = 0;
78 while (scanf("%2x", &byte) == 1 && program_len < sizeof(program)) {
79 program[program_len++] = byte;
82 for (uint32_t pc = 0; pc < program_len;) {
116 print_jump_target(pc + imm, program_len);
140 print_jump_target(pc + imm + cmp_imm, program_len);
145 print_jump_target(pc + imm, program_len);