Fix the x86 side of this following the (inevitable) breakage caused by
recent sparc hackery.
-- B8 ZZ YY XX WW FF E0
mkJumpToAddr a
= let w32 = fromIntegral (addrToInt a)
-- B8 ZZ YY XX WW FF E0
mkJumpToAddr a
= let w32 = fromIntegral (addrToInt a)
+ = map fromIntegral (take 16 (
[0xB8, byte 0 w32, byte 1 w32,
byte 2 w32, byte 3 w32,
0xFF, 0xE0]
++ let nops = 0x90 : nops in nops
[0xB8, byte 0 w32, byte 1 w32,
byte 2 w32, byte 3 w32,
0xFF, 0xE0]
++ let nops = 0x90 : nops in nops