0 Members and 3 Guests are viewing this topic.
I'm kinda embarrassed but I can't figure out how to reset zI've tried:res zres z,0res f,(somenumber)And Spasm errored each time.What am I doing wrong?Is there a list of commands and BCALLs with what they affect? That would be really nice when programming.
ld c,%01000000 ;sets bits to load to the flags registerpush bcpop af
SCF ;Set carry flagSBC A,A ;A-A-1 = $FF. NZ.
OR A ;Reset carry flagSBC A,A ;A-A-0 = $00. Z
Thanks!Is there any way to combine two files that fit in ram individually, but together can't? I have 2 very large text files, and can't find a way to combine them.