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

27 lines
411 B
NASM
Raw Permalink Normal View History

2023-12-14 14:12:51 +01:00
; 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"