Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for(i = 0; i < number_of_ferns; i++)
- {
- __asm(__as3(ntfm1))
- __asm(LookupSwitch("default", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"))
- __asm("default:") // here default will take the max op
- __asm("12:")
- index = __cint( index + int(Memory.readUnsignedByte(img + tst.ind1) < Memory.readUnsignedByte(img + tst.ind2)) )
- index <<= 1
- tst = tst.next
- __asm("11:")
- index = __cint( index + int(Memory.readUnsignedByte(img + tst.ind1) < Memory.readUnsignedByte(img + tst.ind2)) )
- index <<= 1
- tst = tst.next
- __asm("10:")
- index = __cint( index + int(Memory.readUnsignedByte(img + tst.ind1) < Memory.readUnsignedByte(img + tst.ind2)) )
- index <<= 1
- tst = tst.next
- __asm("9:")
- index = __cint( index + int(Memory.readUnsignedByte(img + tst.ind1) < Memory.readUnsignedByte(img + tst.ind2)) )
- index <<= 1
- tst = tst.next
- __asm("8:")
- index = __cint( index + int(Memory.readUnsignedByte(img + tst.ind1) < Memory.readUnsignedByte(img + tst.ind2)) )
- index <<= 1
- tst = tst.next
- __asm("7:")
- index = __cint( index + int(Memory.readUnsignedByte(img + tst.ind1) < Memory.readUnsignedByte(img + tst.ind2)) )
- index <<= 1
- tst = tst.next
- __asm("6:")
- index = __cint( index + int(Memory.readUnsignedByte(img + tst.ind1) < Memory.readUnsignedByte(img + tst.ind2)) )
- index <<= 1
- tst = tst.next
- __asm("5:")
- index = __cint( index + int(Memory.readUnsignedByte(img + tst.ind1) < Memory.readUnsignedByte(img + tst.ind2)) )
- index <<= 1
- tst = tst.next
- __asm("4:")
- index = __cint( index + int(Memory.readUnsignedByte(img + tst.ind1) < Memory.readUnsignedByte(img + tst.ind2)) )
- index <<= 1
- tst = tst.next
- __asm("3:")
- index = __cint( index + int(Memory.readUnsignedByte(img + tst.ind1) < Memory.readUnsignedByte(img + tst.ind2)) )
- index <<= 1
- tst = tst.next
- __asm("2:")
- index = __cint( index + int(Memory.readUnsignedByte(img + tst.ind1) < Memory.readUnsignedByte(img + tst.ind2)) )
- index <<= 1
- tst = tst.next
- __asm("1:")
- index = __cint( index + int(Memory.readUnsignedByte(img + tst.ind1) < Memory.readUnsignedByte(img + tst.ind2)) )
- index <<= 1
- tst = tst.next
- __asm("0:")
- index = __cint( index + int(Memory.readUnsignedByte(img + tst.ind1) < Memory.readUnsignedByte(img + tst.ind2)) )
- tst = tst.next
- Memory.writeInt(index, idx_ptr);
- idx_ptr = __cint(idx_ptr + 4);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement