2 ms·
> there's no need to use switch statements and their associated complexity to map integers back into addresses, when all that's really required is for the "call
by dezgeg 11y ago
> there's no need to use switch statements and their associated complexity to map integers back into addresses, when all that's really required is for the "caller" to supply a where-to-go-next address.
Do note that on 8-bit microcontroller ISAs it can be very cumbersome to load an absolute address and do an indirect jump into it, because code addresses could be 16 or 24 bits wide, with only 8-bit general purpose registers.