I am writing shellcode on BackTrack 5 R2 x86 running in Virtualbox and the registers prior to the int 0x80 syscall look like this:

eax 0x66
ecx 0x8e60558
edx 0x0
ebx 0x3

...