0050aaa.tie
来自「地球模拟器」· TIE 代码 · 共 57 行
TIE
57 行
format: 3 bits: 3genotype: 0050aaa parent genotype: 0093aaatrack 0: prot xwrnop1 ; 010 000 00 0 beginning markernop1 ; 010 000 00 0 beginning markernop1 ; 010 000 00 0 beginning markernop1 ; 010 000 00 0 beginning markerzero ; 010 000 00 0 to clear bxenter ; 010 000 00 0 to clear bxadrb ; 010 000 00 0 find startnop0 ; 010 000 00 0 complement to beginning markernop0 ; 010 000 00 0 complement to beginning markernop0 ; 010 000 00 0 complement to beginning markernop0 ; 010 000 00 0 complement to beginning markerexch ; 010 000 00 0 ax = templ size, bx = start addr after templsub ; 010 000 00 0 ax = start addrzero ; 010 000 00 0 to clear bxexch ; 010 000 00 0 to clear bx, ax = start, bx = 0adrf ; 010 000 00 0 find endnop0 ; 010 000 00 0 complement to end markernop0 ; 010 000 00 0 complement to end markernop0 ; 010 000 00 0 complement to end markernop1 ; 010 000 00 0 complement to end markerinc ; 010 000 00 0 increment ax, to include dummy instruction at endrollu ; 010 000 00 0 ax = start, bx = endpush ; 010 000 00 0 save start addr on stacksub ; 010 000 00 0 ax = bx - ax, ax = sizepop ; 010 000 00 0 pop start addr from stack: ax = start, bx = sizenop1 ; 010 000 00 0 reproduction loop markernop1 ; 010 000 00 0 reproduction loop markernop0 ; 010 000 00 0 reproduction loop markernop1 ; 010 000 00 0 reproduction loop markermal ; 010 000 00 0 allocate daughter, ax = daughter, bx = mom, cx = sizecall ; 010 000 00 0 call template below (copy procedure)nop0 ; 010 000 00 0 copy procedure complementnop0 ; 010 000 00 0 copy procedure complementnop1 ; 010 000 00 0 copy procedure complementnop1 ; 010 000 00 0 copy procedure complement, ax = mom, bx = sizerolld ; 010 000 00 0 put ax = mom, bx = sizezero ; 010 000 00 0 set offset of IP into daughter at 0divide ; 010 000 00 0 create independent daughter cellrolld ; 010 000 00 0 put ax = mom, bx = sizejmpb ; 010 000 00 0 jump back to template below (reproduction loop)nop0 ; 010 000 00 0 reproduction loop complementnop0 ; 010 000 00 0 reproduction loop complementnop1 ; 010 000 00 0 reproduction loop complementnop0 ; 010 000 00 0 reproduction loop complementifz ; 010 000 00 0 dummy instruction to separate templatesnop1 ; 010 000 00 0 copy procedure templatenop1 ; 010 000 00 0 copy procedure templatenop1 ; 010 000 00 0 copy procedure templatenop0 ; 010 000 00 0 copy procedure templaterolld ; 010 000 00 0 roll mom's start address to ax
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?