Advertisement
Guest User

Untitled

a guest
Aug 18th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. for(i = 0; i < number_of_ferns; i++)
  2. {
  3.     __asm(__as3(ntfm1))
  4.     __asm(LookupSwitch("default", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"))
  5.     __asm("default:") // here default will take the max op
  6.     __asm("12:")
  7.         index = __cint( index + int(Memory.readUnsignedByte(img + tst.ind1) < Memory.readUnsignedByte(img + tst.ind2)) )
  8.         index <<= 1
  9.         tst = tst.next
  10.     __asm("11:")
  11.         index = __cint( index + int(Memory.readUnsignedByte(img + tst.ind1) < Memory.readUnsignedByte(img + tst.ind2)) )
  12.         index <<= 1
  13.         tst = tst.next
  14.     __asm("10:")
  15.         index = __cint( index + int(Memory.readUnsignedByte(img + tst.ind1) < Memory.readUnsignedByte(img + tst.ind2)) )
  16.         index <<= 1
  17.         tst = tst.next
  18.     __asm("9:")
  19.         index = __cint( index + int(Memory.readUnsignedByte(img + tst.ind1) < Memory.readUnsignedByte(img + tst.ind2)) )
  20.         index <<= 1
  21.         tst = tst.next
  22.     __asm("8:")
  23.         index = __cint( index + int(Memory.readUnsignedByte(img + tst.ind1) < Memory.readUnsignedByte(img + tst.ind2)) )
  24.         index <<= 1
  25.         tst = tst.next
  26.     __asm("7:")
  27.         index = __cint( index + int(Memory.readUnsignedByte(img + tst.ind1) < Memory.readUnsignedByte(img + tst.ind2)) )
  28.         index <<= 1
  29.         tst = tst.next
  30.     __asm("6:")
  31.         index = __cint( index + int(Memory.readUnsignedByte(img + tst.ind1) < Memory.readUnsignedByte(img + tst.ind2)) )
  32.         index <<= 1
  33.         tst = tst.next
  34.     __asm("5:")
  35.         index = __cint( index + int(Memory.readUnsignedByte(img + tst.ind1) < Memory.readUnsignedByte(img + tst.ind2)) )
  36.         index <<= 1
  37.         tst = tst.next
  38.     __asm("4:")
  39.         index = __cint( index + int(Memory.readUnsignedByte(img + tst.ind1) < Memory.readUnsignedByte(img + tst.ind2)) )
  40.         index <<= 1
  41.         tst = tst.next
  42.     __asm("3:")
  43.         index = __cint( index + int(Memory.readUnsignedByte(img + tst.ind1) < Memory.readUnsignedByte(img + tst.ind2)) )
  44.         index <<= 1
  45.         tst = tst.next
  46.     __asm("2:")
  47.         index = __cint( index + int(Memory.readUnsignedByte(img + tst.ind1) < Memory.readUnsignedByte(img + tst.ind2)) )
  48.         index <<= 1
  49.         tst = tst.next
  50.     __asm("1:")
  51.         index = __cint( index + int(Memory.readUnsignedByte(img + tst.ind1) < Memory.readUnsignedByte(img + tst.ind2)) )
  52.         index <<= 1
  53.         tst = tst.next
  54.     __asm("0:")
  55.         index = __cint( index + int(Memory.readUnsignedByte(img + tst.ind1) < Memory.readUnsignedByte(img + tst.ind2)) )
  56.         tst = tst.next
  57.       Memory.writeInt(index, idx_ptr);
  58.       idx_ptr = __cint(idx_ptr + 4);
  59. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement