radare2/libr/asm/p/avr.mk
gogo 2f950f5ebe add registers sreg, adcl and adch
replace spaces by tabs and add registers rampz and eind

remove comments from avr analysis plugin

add some registers to the register list

add more registers

add more registers

ajust register sizes

list all remininders full registers

analyze the binary

check for environment variable to fix tests

Use r_str_get() instead of manual string null checks in AVR plugin

move sreg instruction in numerical order

split the .assemble function with new files assemble.c and assemble.h

reassemble new instructions with operand spl and sreg

can reassemble old hex input as well as new input with register names. Register sph added.

use r_strbuf apis

Add file disassemble.c to meson

Fix is_register_found is ONLY set to true when current_register is != NULL

Fix size logic on return value.

Modify tests

fix review
2021-12-09 09:51:29 +01:00

17 lines
380 B
Makefile

OBJ_AVR=asm_avr.o
OBJ_AVR+=../arch/avr/avr_disasm.o
OBJ_AVR+=../arch/avr/format.o
OBJ_AVR+=../arch/avr/disasm.o
OBJ_AVR+=../arch/avr/assemble.o
STATIC_OBJ+=${OBJ_AVR}
TARGET_AVR=asm_avr.${EXT_SO}
ifeq ($(WITHPIC),1)
ALL_TARGETS+=${TARGET_AVR}
${TARGET_AVR}: ${OBJ_AVR}
${CC} $(call libname,asm_avr) ${LDFLAGS} \
-I../arch/avr ${CFLAGS} -o asm_avr.${EXT_SO} ${OBJ_AVR}
endif