0 Members and 1 Guest are viewing this topic.
You can always display them manually...This displays the 32-bit number in the location Str1, but destroys the number afterwards. (range of 0 to 4,294,967,295)Lets Make Str1 hold 9000*9000 = 81,000,000 In Hex, that's 4D3F640.Code: [Select]:[04D3F640]->Str1::For(D,0,9):0->A:For(B,0,3):A*256+{Str1+B}->C^10->A:C/10->{Str1+B}:End:Output(15-D,0,A+'0'▶Frac):End:Disp iOf course, you can extend this to any arbitrary length.Please don't ask me how this works. I looked up the algorithm on the learn z80 in 28 days tutorial. I kind of see why it might work, but I don't really know it enough to explain.
:[04D3F640]->Str1::For(D,0,9):0->A:For(B,0,3):A*256+{Str1+B}->C^10->A:C/10->{Str1+B}:End:Output(15-D,0,A+'0'▶Frac):End:Disp i