Hello, I am right now programming in assemblor and I would like to be able to save in a variable the PC of a label. I would like also to jump at a label, having in a variable the PC of this label. thanks a lot
For computed jumps, use the JMP @DPTR+A opcode. To save a label address, you need a copy of it somewhere, i.e. a set of
db BYTE0(label) db BYTE1(label)