Jump to content

Integer sequence: Difference between revisions

m
Line 2,653:
 
===Arbitrarily Large Integers===
This version displays an ever-increasing 64-bit unsigned integer. Unlike the previous version, this one continues forever and underflows to 0 after it reaches <tt>0xFFFFFFFFFFFFFFFF</tt>. This logic can be extended to integers of anyup to 128 bytes in size, provided(since <code>IX+#</code> uses a signed offset, you'd haveneed enoughsome memoryway to storealter themthe allpointer (andto enoughmemory patienceif toyou watchwanted themeven upticklarger -numbers Ithan thinkthat, weit's allpossible knowbut whicha willbit runcumbersome. Not that this method wasn't cumbersome to outbegin firstwith.)
<lang z80>org &1000
PrintChar equ &BB5A
1,489

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.