branch computation

From: didier_at_aida.org
Date: Sun, 13 Oct 2019 15:28:04 +0200
Message-ID: <78cb1790-16c3-d936-d82c-3f529f9a839c_at_aida.org>
I'm writing a mini assembler.. my last step is to compute de offset 
after a relative branch
if it's easy to do in C, I don't find the right logic in 6502 assembler

any idea on the shortest code to compute that ?
I have the address  of the opcode and the target address

thanks
Received on 2020-05-29 23:04:08

Archive generated by hypermail 2.3.0.