nanochess / IntyBASIC

IntyBASIC compiler for Intellivision (CP1610 processor)
BSD 2-Clause "Simplified" License
35 stars 5 forks source link

Sign #6

Closed artrag closed 6 years ago

artrag commented 6 years ago

Something wrong with the jumps generated by the sign() implementation. Look at DZ-Jay explanations here

http://atariage.com/forums/topic/274395-2018-contest-chat/page-4

intvnut commented 6 years ago

A more general question I've always had: Why does IntyBASIC even do $+123 types of jumps, instead of emitting labels? I realize it tries to be one-pass; however it should still be possible to branch to a label and defer emitting the label.

It also costs nothing to give the same location multiple labels.