Hello! I am confused on how to add to a value of an array in ebe. I've tried some different ways, but all resulted in an error that stated: "invalid combination of opcode and operands"
segment .data
a dw -4, 22, 144
b db -3, -16, 12
c dw -3
result dq 0
segment .text
global main
main:
add a, c
ret
This was one of my attempts, I am trying to add -3 to an indexed value of array a, but I am just stuck on how to actually do this. Please help!