Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Little endian n big endian
section .data m2: db 'It is Little Endian',0Ah l2: resb 1 m1: db 'It is big Endian',0Ah l1: resb 1 section .bss s: resd 1 section .text global_start: _start: mov dword[s],12345678h mov al,byte[s] cmp byte[s],78h je if else: mov eax,4 mov ebx,1 mov ecx,m1 mov edx,l1 int 80h jmp S if: mov eax,4 mov ebx,1 mov ecx,m2 mov edx,l2 int 80h S: mov eax,1 mov ebx,0 int 80h
run
|
edit
|
history
|
help
0
index1
dfhgjfsdsff
Macro String Output
bcfsfssdffs
dfdffdfdfdfdfdfd
Disition
dsfaddafs
dfsfdasfdssdf
lec4b.asm
Group Lab 1