Anti-nuisance lawsuit warning: The purpose of these notes is to remind me, Zoegond, of stuff or to help me work stuff out. They may contain mistakes.

Quick

  • ($a, $b....) = unpack("A2A7...", $packed)
  • push( array, list )

Tuesday, October 18, 2011

Endianness

I'm surprised I could have forgotten this but - if you have the following

mem: dw 0
mov ax,1
mov [mem],ax

the two bytes at /mem/ will be set to 01 00, not 00 01.

Followers

Blog Archive