firmware/disasm.c
/**
 * Return next byte for instruction from memory
 */
Return next byte for instruction from memory
Return next byte for instruction from memory
uint8_t disasm_next_byte()
{
    if (disasm_index == 0)
        mem_read(disasm_addr, disasm_buf, 256);
    disasm_addr++;
    instr_bytes[instr_length] = disasm_buf[disasm_index++];
    return instr_bytes[instr_length++];
}
uint8_t disasm_next_byte ( ) { if ( disasm_index == 0 ) mem_read ( disasm_addr , disasm_buf , 256 ) ; disasm_addr ++ ; instr_bytes [ instr_length ] = disasm_buf [ disasm_index ++ ] ; return instr_bytes [ instr_length ++ ] ; }
Return next byte for instruction from memory
Return next byte for instruction from memory