mirror of
https://github.com/avrdudes/avrdude.git
synced 2026-09-24 10:06:25 +03:00
Add las opcode
This commit is contained in:
@@ -362,6 +362,7 @@ int disasm_init(const AVRPART *p) {
|
||||
Register_Opcode(inc_Callback, "1001 010d dddd 0011", OPCODE_inc);
|
||||
Register_Opcode(jmp_Callback, "1001 010k kkkk 110k kkkk kkkk kkkk kkkk", OPCODE_jmp);
|
||||
Register_Opcode(lac_Callback, "1001 001d dddd 0110", OPCODE_lac);
|
||||
Register_Opcode(las_Callback, "1001 001d dddd 0101", OPCODE_lac);
|
||||
Register_Opcode(ldx1_Callback, "1001 000d dddd 1100", OPCODE_ld_1);
|
||||
Register_Opcode(ldx2_Callback, "1001 000d dddd 1101", OPCODE_ld_2);
|
||||
Register_Opcode(ldx3_Callback, "1001 000d dddd 1110", OPCODE_ld_3);
|
||||
|
||||
@@ -498,6 +498,10 @@ CALLBACK(lac_Callback) {
|
||||
Operation_Z_Rd(mnemo);
|
||||
}
|
||||
|
||||
CALLBACK(las_Callback) {
|
||||
Operation_Z_Rd(mnemo);
|
||||
}
|
||||
|
||||
CALLBACK(ldx1_Callback) {
|
||||
snprintf(cx->dis_code, 255, "%-7s r%d, X", avr_opcodes[mnemo].opcode, Rd);
|
||||
}
|
||||
|
||||
@@ -119,6 +119,7 @@ void in_Callback(const char *Bitstream, int Position, AVR_opcode mnemo);
|
||||
void inc_Callback(const char *Bitstream, int Position, AVR_opcode mnemo);
|
||||
void jmp_Callback(const char *Bitstream, int Position, AVR_opcode mnemo);
|
||||
void lac_Callback(const char *Bitstream, int Position, AVR_opcode mnemo);
|
||||
void las_Callback(const char *Bitstream, int Position, AVR_opcode mnemo);
|
||||
void ldx1_Callback(const char *Bitstream, int Position, AVR_opcode mnemo);
|
||||
void ldx2_Callback(const char *Bitstream, int Position, AVR_opcode mnemo);
|
||||
void ldx3_Callback(const char *Bitstream, int Position, AVR_opcode mnemo);
|
||||
|
||||
Reference in New Issue
Block a user