sfl-examples/slide-examples/assembly/ex26.asm

27 lines
411 B
NASM

; variable splits/merges
bits 64
SECTION .data
; empty
SECTION .text
global _start
_start:
%include "header.asm.inc"
; original value
mov eax, 0x11223344
; variable splitting
mov eax, 0x11000000
add eax, 0x00220000
add eax, 0x00003300
add eax, 0x00000044
; XOR obfuscation
mov eax, 0x22765B03
xor eax, 0x33546847
%include "sysexit.asm.inc"