Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Array elements
#2
Macro Macro1599
Code:
Copy      Help
;this can be use to create string of constant byte values
lpstr s="[0x1C][0x2C][0x3C][0x4C][0x5C][0x6C][0x7C][0x8C]"

;this can be used to create ARRAY(byte) from string
ARRAY(byte) a.create(8)
memcpy &a[0] s a.len

;results
int i
for(i 0 a.len) out "0x%X" a[i]
;or
outb &a[0] a.len

other way
Macro Macro1600
Code:
Copy      Help
str s="1C 2C 3C 4C 5C 6C 7C 8C"
s.decrypt(8)

;results
outb s s.len 1

------------------------
unsigned int
Macro Macro1598
Code:
Copy      Help
out -1
out -1U

int i=-1
out i
out i+0U

out ConvertSignedUnsigned(i)


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)