use pseudocode instead of jmp/bra selection

This commit is contained in:
FeralChild64 committed 2020-07-19 10:23:26 +02:00
1 parent 92359c64f2
commit 3b4cf3faef
17 files changed
+32 -125

No files matched your search

+2 -10
View File
@@ -67,11 +67,7 @@ fetch_variable_type_float:
dew TXTPTR
#endif
#if HAS_OPCODES_65C02
bra fetch_variable_special
#else
jmp fetch_variable_special
#endif
jmp_8 fetch_variable_special
fetch_variable_type_integer:
@@ -313,8 +309,4 @@ fetch_variable_alocate_space_OK:
// Adjust variable pointer and quit
#if HAS_OPCODES_65C02
bra fetch_variable_adjust_VARPNT
#else
jmp fetch_variable_adjust_VARPNT
#endif
jmp_8 fetch_variable_adjust_VARPNT
+2 -5
View File
@@ -16,11 +16,8 @@ tmpstr_free_FAC1:
sta DSCPNT+1
lda __FAC1+2
#if HAS_OPCODES_65C02
bra !+
#else
jmp !+
#endif
jmp_8 !+
tmpstr_free_FAC2:
+1 -5
View File
@@ -138,8 +138,4 @@ varstr_alloc_fail:
dec GARBFL // $00 -> $FF
jsr varstr_garbage_collect
#if HAS_OPCODES_65C02
bra varstr_alloc_retry
#else
jmp varstr_alloc_retry
#endif
jmp_8 varstr_alloc_retry