Karion & Techguy
Я тут на eBay схватил старый 6502. Думаю, сделаю из него какой-нибудь портативный компьютерчик. Как думаешь, в этой его странной ошибке с косвенным переходом – какой-то подвох, или просто ошибка, которую решили не исправлять?
Sure thing, the bug isn’t a feature, it’s a legacy of design trade‑offs. The 6502’s indirect jump reads the low byte from the supplied address and the high byte from the next physical memory location, even if that address straddles a page boundary. The hardware can’t wrap around a page, so the high byte is taken from the wrong place. It was probably a cost‑saving compromise, not an intentional Easter egg. If you’re building a handheld, just treat it as a quirky quirk you’ll have to code around.