yasm -------
BITS 32
global main
extern exit
%include 'training.s'
;===========================================
section .data
; 5 dwords:
keep_nums times 5 dd (12345678h)
section .text
main:
mov ecx, 5
read_one_number:
dec ecx
call read_hex
mov esi,ecx
; Calculate the address of dword number ecx:
shl esi,2 ; multiply by 4. Every dword is 4 bytes!
add esi,keep_nums
; Store the number inside dword number ecx:
mov dword [esi],eax
test ecx,ecx
jnz read_one_number
mov edi,5
mov ecx,0
; Now we print all the numbers, in reverse order:
print_one_number:
mov esi,ecx
; Calculate the address of dword number ecx:
shl esi,2
add esi,keep_nums
; Read from dword number ecx:
mov eax,dword [esi]
call print_eax
inc ecx
cmp ecx,edi
jnz print_one_number
push 0
call exit
fasm, nasm -----
; Basic Assembly
; ==============
;
; Memory - Memory examples
; ------------------------
;
; Reverse
; @@@@@@@
;
; This program receives 5 numbers, and prints them back in reverse order.
; It uses memory to remember the given 5 numbers.
;
format PE console
entry start
include 'win32a.inc'
; This is the data section:
; ===============================================
section '.data' data readable writeable
; 5 dwords:
keep_nums dd 5 dup (0)
; ===============================================
section '.text' code readable executable
start:
mov ecx,5
; First we read all the numbers, and keep them in memory.
read_one_number:
dec ecx
call read_hex
mov esi,ecx
; Calculate the address of dword number ecx:
shl esi,2 ; multiply by 4. Every dword is 4 bytes!
add esi,keep_nums
; Store the number inside dword number ecx:
mov dword [esi],eax
test ecx,ecx
jnz read_one_number
mov edi,5
mov ecx,0
; Now we print all the numbers, in reverse order:
print_one_number:
mov esi,ecx
; Calculate the address of dword number ecx:
shl esi,2
add esi,keep_nums
; Read from dword number ecx:
mov eax,dword [esi]
call print_eax
inc ecx
cmp ecx,edi
jnz print_one_number
; Exit the process:
push 0
call [ExitProcess]
include 'training.inc'
for include file contact me at twitter ---
https://twitter.com/AdityaRoCk34
diff b/w
yasm nasm
keep_nums times 5 dd (12345678h) keep_nums dd 5 dup (12345678h)
12345678h - store at memory
5 vacant memory of total 20bits
memory dump of yasm
00000000 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 |.ELF............|
00000010 03 00 03 00 01 00 00 00 90 10 00 00 34 00 00 00 |............4...|
00000020 78 39 00 00 00 00 00 00 34 00 20 00 0b 00 28 00 |x9......4. ...(.|
00000030 1e 00 1d 00 06 00 00 00 34 00 00 00 34 00 00 00 |........4...4...|
00000040 34 00 00 00 60 01 00 00 60 01 00 00 04 00 00 00 |4...`...`.......|
00000050 04 00 00 00 03 00 00 00 94 01 00 00 94 01 00 00 |................|
00000060 94 01 00 00 13 00 00 00 13 00 00 00 04 00 00 00 |................|
00000070 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 |................|
00000080 00 00 00 00 b0 04 00 00 b0 04 00 00 04 00 00 00 |................|
00000090 00 10 00 00 01 00 00 00 00 10 00 00 00 10 00 00 |................|
000000a0 00 10 00 00 58 03 00 00 58 03 00 00 05 00 00 00 |....X...X.......|
000000b0 00 10 00 00 01 00 00 00 00 20 00 00 00 20 00 00 |......... ... ..|
000000c0 00 20 00 00 1c 01 00 00 1c 01 00 00 04 00 00 00 |. ..............|
000000d0 00 10 00 00 01 00 00 00 e4 2e 00 00 e4 3e 00 00 |.............>..|
000000e0 e4 3e 00 00 75 01 00 00 78 01 00 00 06 00 00 00 |.>..u...x.......|
000000f0 00 10 00 00 02 00 00 00 ec 2e 00 00 ec 3e 00 00 |.............>..|
00000100 ec 3e 00 00 00 01 00 00 00 01 00 00 06 00 00 00 |.>..............|
00000110 04 00 00 00 04 00 00 00 a8 01 00 00 a8 01 00 00 |................|
00000120 a8 01 00 00 44 00 00 00 44 00 00 00 04 00 00 00 |....D...D.......|
00000130 04 00 00 00 50 e5 74 64 08 20 00 00 08 20 00 00 |....P.td. ... ..|
00000140 08 20 00 00 34 00 00 00 34 00 00 00 04 00 00 00 |. ..4...4.......|
00000150 04 00 00 00 51 e5 74 64 00 00 00 00 00 00 00 00 |....Q.td........|
00000160 00 00 00 00 00 00 00 00 00 00 00 00 07 00 00 00 |................|
00000170 10 00 00 00 52 e5 74 64 e4 2e 00 00 e4 3e 00 00 |....R.td.....>..|
00000180 e4 3e 00 00 1c 01 00 00 1c 01 00 00 04 00 00 00 |.>..............|
00000190 01 00 00 00 2f 6c 69 62 2f 6c 64 2d 6c 69 6e 75 |..../lib/ld-linu|
000001a0 78 2e 73 6f 2e 32 00 00 04 00 00 00 10 00 00 00 |x.so.2..........|
000001b0 01 00 00 00 47 4e 55 00 00 00 00 00 03 00 00 00 |....GNU.........|
000001c0 02 00 00 00 00 00 00 00 04 00 00 00 14 00 00 00 |................|
000001d0 03 00 00 00 47 4e 55 00 ba 19 a6 41 19 b4 21 06 |....GNU....A..!.|
000001e0 16 39 2b 4d 9e 2e 37 ec 2d f8 78 07 02 00 00 00 |.9+M..7.-.x.....|
000001f0 0a 00 00 00 01 00 00 00 05 00 00 00 00 20 00 20 |............. . |
00000200 00 00 00 00 0a 00 00 00 ad 4b e3 c0 00 00 00 00 |.........K......|
00000210 00 00 00 00 00 00 00 00 00 00 00 00 26 00 00 00 |............&...|
00000220 00 00 00 00 00 00 00 00 12 00 00 00 68 00 00 00 |............h...|
00000230 00 00 00 00 00 00 00 00 20 00 00 00 1f 00 00 00 |........ .......|
00000240 00 00 00 00 00 00 00 00 12 00 00 00 2b 00 00 00 |............+...|
00000250 00 00 00 00 00 00 00 00 22 00 00 00 3a 00 00 00 |........"...:...|
00000260 00 00 00 00 00 00 00 00 12 00 00 00 84 00 00 00 |................|
00000270 00 00 00 00 00 00 00 00 20 00 00 00 1a 00 00 00 |........ .......|
00000280 00 00 00 00 00 00 00 00 12 00 00 00 40 00 00 00 |............@...|
00000290 00 00 00 00 00 00 00 00 12 00 00 00 93 00 00 00 |................|
000002a0 00 00 00 00 00 00 00 00 20 00 00 00 0b 00 00 00 |........ .......|
000002b0 04 20 00 00 04 00 00 00 11 00 10 00 00 6c 69 62 |. ...........lib|
000002c0 63 2e 73 6f 2e 36 00 5f 49 4f 5f 73 74 64 69 6e |c.so.6._IO_stdin|
000002d0 5f 75 73 65 64 00 65 78 69 74 00 70 72 69 6e 74 |_used.exit.print|
000002e0 66 00 72 65 61 64 00 5f 5f 63 78 61 5f 66 69 6e |f.read.__cxa_fin|
000002f0 61 6c 69 7a 65 00 73 63 61 6e 66 00 5f 5f 6c 69 |alize.scanf.__li|
00000300 62 63 5f 73 74 61 72 74 5f 6d 61 69 6e 00 47 4c |bc_start_main.GL|
00000310 49 42 43 5f 32 2e 31 2e 33 00 47 4c 49 42 43 5f |IBC_2.1.3.GLIBC_|
00000320 32 2e 30 00 5f 49 54 4d 5f 64 65 72 65 67 69 73 |2.0._ITM_deregis|
00000330 74 65 72 54 4d 43 6c 6f 6e 65 54 61 62 6c 65 00 |terTMCloneTable.|
00000340 5f 5f 67 6d 6f 6e 5f 73 74 61 72 74 5f 5f 00 5f |__gmon_start__._|
00000350 49 54 4d 5f 72 65 67 69 73 74 65 72 54 4d 43 6c |ITM_registerTMCl|
00000360 6f 6e 65 54 61 62 6c 65 00 00 00 00 02 00 00 00 |oneTable........|
00000370 02 00 03 00 02 00 00 00 02 00 02 00 00 00 01 00 |................|
00000380 01 00 02 00 01 00 00 00 10 00 00 00 00 00 00 00 |................|
00000390 73 1f 69 09 00 00 03 00 52 00 00 00 10 00 00 00 |s.i.....R.......|
000003a0 10 69 69 0d 00 00 02 00 5e 00 00 00 00 00 00 00 |.ii.....^.......|
000003b0 d3 11 00 00 08 00 00 00 e4 11 00 00 08 00 00 00 |................|
000003c0 f4 11 00 00 08 00 00 00 26 12 00 00 08 00 00 00 |........&.......|
000003d0 45 12 00 00 08 00 00 00 73 12 00 00 08 00 00 00 |E.......s.......|
000003e0 84 12 00 00 08 00 00 00 a4 12 00 00 08 00 00 00 |................|
000003f0 bf 12 00 00 08 00 00 00 e4 3e 00 00 08 00 00 00 |.........>......|
00000400 e8 3e 00 00 08 00 00 00 f8 3f 00 00 08 00 00 00 |.>.......?......|
00000410 24 40 00 00 08 00 00 00 d8 11 00 00 02 03 00 00 |$@..............|
00000420 e9 11 00 00 02 03 00 00 fa 11 00 00 02 03 00 00 |................|
00000430 59 12 00 00 02 03 00 00 78 12 00 00 02 03 00 00 |Y.......x.......|
00000440 89 12 00 00 02 03 00 00 09 12 00 00 02 01 00 00 |................|
00000450 2b 12 00 00 02 05 00 00 4a 12 00 00 02 05 00 00 |+.......J.......|
00000460 d2 12 00 00 02 07 00 00 ec 3f 00 00 06 02 00 00 |.........?......|
00000470 f0 3f 00 00 06 04 00 00 f4 3f 00 00 06 06 00 00 |.?.......?......|
00000480 fc 3f 00 00 06 09 00 00 0c 40 00 00 07 01 00 00 |.?.......@......|
00000490 10 40 00 00 07 03 00 00 14 40 00 00 07 05 00 00 |.@.......@......|
000004a0 18 40 00 00 07 07 00 00 1c 40 00 00 07 08 00 00 |.@.......@......|
000004b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00001000 53 83 ec 08 e8 c7 00 00 00 81 c3 f7 2f 00 00 8b |S.........../...|
00001010 83 f4 ff ff ff 85 c0 74 02 ff d0 83 c4 08 5b c3 |.......t......[.|
00001020 ff b3 04 00 00 00 ff a3 08 00 00 00 00 00 00 00 |................|
00001030 ff a3 0c 00 00 00 68 00 00 00 00 e9 e0 ff ff ff |......h.........|
00001040 ff a3 10 00 00 00 68 08 00 00 00 e9 d0 ff ff ff |......h.........|
00001050 ff a3 14 00 00 00 68 10 00 00 00 e9 c0 ff ff ff |......h.........|
00001060 ff a3 18 00 00 00 68 18 00 00 00 e9 b0 ff ff ff |......h.........|
00001070 ff a3 1c 00 00 00 68 20 00 00 00 e9 a0 ff ff ff |......h ........|
00001080 ff a3 f0 ff ff ff 66 90 00 00 00 00 00 00 00 00 |......f.........|
00001090 31 ed 5e 89 e1 83 e4 f0 50 54 52 e8 22 00 00 00 |1.^.....PTR."...|
000010a0 81 c3 60 2f 00 00 8d 83 40 d3 ff ff 50 8d 83 e0 |..`/....@...P...|
000010b0 d2 ff ff 50 51 56 ff b3 f8 ff ff ff e8 af ff ff |...PQV..........|
000010c0 ff f4 8b 1c 24 c3 66 90 66 90 66 90 66 90 66 90 |....$.f.f.f.f.f.|
000010d0 8b 1c 24 c3 66 90 66 90 66 90 66 90 66 90 66 90 |..$.f.f.f.f.f.f.|
000010e0 e8 e0 00 00 00 81 c2 1b 2f 00 00 8d 8a 5c 00 00 |......../....\..|
000010f0 00 8d 82 5c 00 00 00 39 c8 74 1d 8b 82 ec ff ff |...\...9.t......|
00001100 ff 85 c0 74 13 55 89 e5 83 ec 14 51 ff d0 83 c4 |...t.U.....Q....|
00001110 10 c9 c3 8d 74 26 00 90 c3 8d b4 26 00 00 00 00 |....t&.....&....|
00001120 e8 a0 00 00 00 81 c2 db 2e 00 00 55 89 e5 53 8d |...........U..S.|
00001130 8a 5c 00 00 00 8d 82 5c 00 00 00 83 ec 04 29 c8 |.\.....\......).|
00001140 c1 f8 02 89 c3 c1 eb 1f 01 d8 d1 f8 74 14 8b 92 |............t...|
00001150 fc ff ff ff 85 d2 74 0a 83 ec 08 50 51 ff d2 83 |......t....PQ...|
00001160 c4 10 8b 5d fc c9 c3 8d b4 26 00 00 00 00 66 90 |...].....&....f.|
00001170 55 89 e5 53 e8 57 ff ff ff 81 c3 87 2e 00 00 83 |U..S.W..........|
00001180 ec 04 80 bb 59 00 00 00 00 75 27 8b 83 f0 ff ff |....Y....u'.....|
00001190 ff 85 c0 74 11 83 ec 0c ff b3 24 00 00 00 e8 dd |...t......$.....|
000011a0 fe ff ff 83 c4 10 e8 35 ff ff ff c6 83 59 00 00 |.......5.....Y..|
000011b0 00 01 8b 5d fc c9 c3 8d b4 26 00 00 00 00 66 90 |...].....&....f.|
000011c0 e9 5b ff ff ff 8b 14 24 c3 66 90 66 90 66 90 90 |.[.....$.f.f.f..|
000011d0 60 50 68 28 40 00 00 e8 fc ff ff ff 83 c4 08 61 |`Ph(@..........a|
000011e0 c3 60 50 68 32 40 00 00 e8 fc ff ff ff 83 c4 08 |.`Ph2@..........|
000011f0 61 c3 60 b8 3b 40 00 00 50 e8 fc ff ff ff 83 c4 |a.`.;@..P.......|
00001200 04 61 c3 60 51 57 6a 00 e8 fc ff ff ff 83 c4 0c |.a.`QWj.........|
00001210 31 d2 c6 04 07 00 61 c3 55 89 e5 83 ec 04 53 51 |1.....a.U.....SQ|
00001220 52 8d 5d fc 53 68 2c 40 00 00 e8 fc ff ff ff 83 |R.].Sh,@........|
00001230 c4 08 8b 03 5a 59 5b c9 c3 55 89 e5 83 ec 04 8d |....ZY[..U......|
00001240 5d fc 60 53 68 2f 40 00 00 e8 fc ff ff ff 83 c4 |].`Sh/@.........|
00001250 08 61 8b 03 c9 c3 60 56 e8 fc ff ff ff 83 c4 04 |.a....`V........|
00001260 61 c3 60 b9 20 00 00 00 d1 c0 89 c2 83 e2 01 51 |a.`. ..........Q|
00001270 50 52 68 2c 40 00 00 e8 fc ff ff ff 83 c4 08 58 |PRh,@..........X|
00001280 59 e2 e5 68 39 40 00 00 e8 fc ff ff ff 83 c4 04 |Y..h9@..........|
00001290 61 c3 b9 05 00 00 00 49 e8 7b ff ff ff 89 ce c1 |a......I.{......|
000012a0 e6 02 81 c6 45 40 00 00 89 06 85 c9 75 e9 bf 05 |....E@......u...|
000012b0 00 00 00 b9 00 00 00 00 89 ce c1 e6 02 81 c6 45 |...............E|
000012c0 40 00 00 8b 06 e8 06 ff ff ff 41 39 f9 75 e9 6a |@.........A9.u.j|
000012d0 00 e8 fc ff ff ff 66 90 66 90 66 90 66 90 66 90 |......f.f.f.f.f.|
000012e0 55 57 56 53 e8 e7 fd ff ff 81 c3 17 2d 00 00 83 |UWVS........-...|
000012f0 ec 0c 8b 6c 24 28 e8 05 fd ff ff 8d b3 e8 fe ff |...l$(..........|
00001300 ff 8d 83 e4 fe ff ff 29 c6 c1 fe 02 74 1f 31 ff |.......)....t.1.|
00001310 83 ec 04 55 ff 74 24 2c ff 74 24 2c ff 94 bb e4 |...U.t$,.t$,....|
00001320 fe ff ff 83 c7 01 83 c4 10 39 fe 75 e3 83 c4 0c |.........9.u....|
00001330 5b 5e 5f 5d c3 8d b4 26 00 00 00 00 8d 74 26 00 |[^_]...&.....t&.|
00001340 c3 00 00 00 53 83 ec 08 e8 83 fd ff ff 81 c3 b3 |....S...........|
00001350 2c 00 00 83 c4 08 5b c3 00 00 00 00 00 00 00 00 |,.....[.........|
00001360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00002000 03 00 00 00 01 00 02 00 01 1b 03 3b 30 00 00 00 |...........;0...|
00002010 05 00 00 00 18 f0 ff ff 78 00 00 00 78 f0 ff ff |........x...x...|
00002020 9c 00 00 00 88 f0 ff ff 4c 00 00 00 d8 f2 ff ff |........L.......|
00002030 b0 00 00 00 38 f3 ff ff fc 00 00 00 14 00 00 00 |....8...........|
00002040 00 00 00 00 01 7a 52 00 01 7c 08 01 1b 0c 04 04 |.....zR..|......|
00002050 88 01 07 08 10 00 00 00 1c 00 00 00 34 f0 ff ff |............4...|
00002060 36 00 00 00 00 00 00 00 14 00 00 00 00 00 00 00 |6...............|
00002070 01 7a 52 00 01 7c 08 01 1b 0c 04 04 88 01 00 00 |.zR..|..........|
00002080 20 00 00 00 1c 00 00 00 98 ef ff ff 60 00 00 00 | ...........`...|
00002090 00 0e 08 46 0e 0c 4a 0f 0b 74 04 78 00 3f 1a 3b |...F..J..t.x.?.;|
000020a0 2a 32 24 22 10 00 00 00 40 00 00 00 d4 ef ff ff |*2$"....@.......|
000020b0 08 00 00 00 00 00 00 00 48 00 00 00 54 00 00 00 |........H...T...|
000020c0 20 f2 ff ff 55 00 00 00 00 41 0e 08 85 02 41 0e | ...U....A....A.|
000020d0 0c 87 03 41 0e 10 86 04 41 0e 14 83 05 4e 0e 20 |...A....A....N. |
000020e0 61 0e 24 41 0e 28 44 0e 2c 44 0e 30 4d 0e 20 47 |a.$A.(D.,D.0M. G|
000020f0 0e 14 41 c3 0e 10 41 c6 0e 0c 41 c7 0e 08 41 c5 |..A...A...A...A.|
00002100 0e 04 00 00 10 00 00 00 a0 00 00 00 34 f2 ff ff |............4...|
00002110 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00002120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00002ee0 00 00 00 00 c0 11 00 00 70 11 00 00 01 00 00 00 |........p.......|
00002ef0 01 00 00 00 0c 00 00 00 00 10 00 00 0d 00 00 00 |................|
00002f00 44 13 00 00 19 00 00 00 e4 3e 00 00 1b 00 00 00 |D........>......|
00002f10 04 00 00 00 1a 00 00 00 e8 3e 00 00 1c 00 00 00 |.........>......|
00002f20 04 00 00 00 f5 fe ff 6f ec 01 00 00 05 00 00 00 |.......o........|
00002f30 bc 02 00 00 06 00 00 00 0c 02 00 00 0a 00 00 00 |................|
00002f40 ad 00 00 00 0b 00 00 00 10 00 00 00 15 00 00 00 |................|
00002f50 00 00 00 00 03 00 00 00 00 40 00 00 02 00 00 00 |.........@......|
00002f60 28 00 00 00 14 00 00 00 11 00 00 00 17 00 00 00 |(...............|
00002f70 88 04 00 00 11 00 00 00 b0 03 00 00 12 00 00 00 |................|
00002f80 d8 00 00 00 13 00 00 00 08 00 00 00 16 00 00 00 |................|
00002f90 00 00 00 00 1e 00 00 00 04 00 00 00 fb ff ff 6f |...............o|
00002fa0 00 00 00 08 fe ff ff 6f 80 03 00 00 ff ff ff 6f |.......o.......o|
00002fb0 01 00 00 00 f0 ff ff 6f 6a 03 00 00 fa ff ff 6f |.......oj......o|
00002fc0 0d 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00002fd0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00002ff0 00 00 00 00 00 00 00 00 92 12 00 00 00 00 00 00 |................|
00003000 ec 3e 00 00 00 00 00 00 00 00 00 00 36 10 00 00 |.>..........6...|
00003010 46 10 00 00 56 10 00 00 66 10 00 00 76 10 00 00 |F...V...f...v...|
00003020 00 00 00 00 24 40 00 00 25 78 0a 00 25 78 00 25 |....$@..%x..%x.%|
00003030 64 00 25 64 0a 00 25 73 00 0a 00 3d 3d 3d 3d 3d |d.%d..%s...=====|
00003040 3d 3d 3d 0a 00 78 56 34 12 78 56 34 12 78 56 34 |===..xV4.xV4.xV4|
00003050 12 78 56 34 12 78 56 34 12 47 43 43 3a 20 28 44 |.xV4.xV4.GCC: (D|
00003060 65 62 69 61 6e 20 38 2e 33 2e 30 2d 36 29 20 38 |ebian 8.3.0-6) 8|
00003070 2e 33 2e 30 00 00 00 00 00 00 00 00 00 00 00 00 |.3.0............|
00003080 00 00 00 00 00 00 00 00 00 00 00 00 94 01 00 00 |................|
00003090 00 00 00 00 03 00 01 00 00 00 00 00 a8 01 00 00 |................|
000030a0 00 00 00 00 03 00 02 00 00 00 00 00 c8 01 00 00 |................|
000030b0 00 00 00 00 03 00 03 00 00 00 00 00 ec 01 00 00 |................|
000030c0 00 00 00 00 03 00 04 00 00 00 00 00 0c 02 00 00 |................|
000030d0 00 00 00 00 03 00 05 00 00 00 00 00 bc 02 00 00 |................|
000030e0 00 00 00 00 03 00 06 00 00 00 00 00 6a 03 00 00 |............j...|
000030f0 00 00 00 00 03 00 07 00 00 00 00 00 80 03 00 00 |................|
00003100 00 00 00 00 03 00 08 00 00 00 00 00 b0 03 00 00 |................|
00003110 00 00 00 00 03 00 09 00 00 00 00 00 88 04 00 00 |................|
00003120 00 00 00 00 03 00 0a 00 00 00 00 00 00 10 00 00 |................|
00003130 00 00 00 00 03 00 0b 00 00 00 00 00 20 10 00 00 |............ ...|
00003140 00 00 00 00 03 00 0c 00 00 00 00 00 80 10 00 00 |................|
00003150 00 00 00 00 03 00 0d 00 00 00 00 00 90 10 00 00 |................|
00003160 00 00 00 00 03 00 0e 00 00 00 00 00 44 13 00 00 |............D...|
00003170 00 00 00 00 03 00 0f 00 00 00 00 00 00 20 00 00 |............. ..|
00003180 00 00 00 00 03 00 10 00 00 00 00 00 08 20 00 00 |............. ..|
00003190 00 00 00 00 03 00 11 00 00 00 00 00 3c 20 00 00 |............< ..|
000031a0 00 00 00 00 03 00 12 00 00 00 00 00 e4 3e 00 00 |.............>..|
000031b0 00 00 00 00 03 00 13 00 00 00 00 00 e8 3e 00 00 |.............>..|
000031c0 00 00 00 00 03 00 14 00 00 00 00 00 ec 3e 00 00 |.............>..|
000031d0 00 00 00 00 03 00 15 00 00 00 00 00 ec 3f 00 00 |.............?..|
000031e0 00 00 00 00 03 00 16 00 00 00 00 00 00 40 00 00 |.............@..|
000031f0 00 00 00 00 03 00 17 00 00 00 00 00 20 40 00 00 |............ @..|
00003200 00 00 00 00 03 00 18 00 00 00 00 00 59 40 00 00 |............Y@..|
00003210 00 00 00 00 03 00 19 00 00 00 00 00 00 00 00 00 |................|
00003220 00 00 00 00 03 00 1a 00 01 00 00 00 00 00 00 00 |................|
00003230 00 00 00 00 04 00 f1 ff 0c 00 00 00 e0 10 00 00 |................|
00003240 00 00 00 00 02 00 0e 00 0e 00 00 00 20 11 00 00 |............ ...|
00003250 00 00 00 00 02 00 0e 00 21 00 00 00 70 11 00 00 |........!...p...|
00003260 00 00 00 00 02 00 0e 00 37 00 00 00 59 40 00 00 |........7...Y@..|
00003270 01 00 00 00 01 00 19 00 46 00 00 00 e8 3e 00 00 |........F....>..|
00003280 00 00 00 00 01 00 14 00 6d 00 00 00 c0 11 00 00 |........m.......|
00003290 00 00 00 00 02 00 0e 00 79 00 00 00 e4 3e 00 00 |........y....>..|
000032a0 00 00 00 00 01 00 13 00 98 00 00 00 00 00 00 00 |................|
000032b0 00 00 00 00 04 00 f1 ff 00 00 00 00 b8 12 00 00 |................|
000032c0 00 00 00 00 00 00 0e 00 00 00 00 00 97 12 00 00 |................|
000032d0 00 00 00 00 00 00 0e 00 00 00 00 00 45 40 00 00 |............E@..|
000032e0 00 00 00 00 00 00 18 00 00 00 00 00 68 12 00 00 |............h...|
000032f0 00 00 00 00 00 00 0e 00 00 00 00 00 62 12 00 00 |............b...|
00003300 00 00 00 00 00 00 0e 00 00 00 00 00 56 12 00 00 |............V...|
00003310 00 00 00 00 00 00 0e 00 00 00 00 00 39 12 00 00 |............9...|
00003320 00 00 00 00 00 00 0e 00 00 00 00 00 18 12 00 00 |................|
00003330 00 00 00 00 00 00 0e 00 00 00 00 00 03 12 00 00 |................|
00003340 00 00 00 00 00 00 0e 00 00 00 00 00 f2 11 00 00 |................|
00003350 00 00 00 00 00 00 0e 00 00 00 00 00 e1 11 00 00 |................|
00003360 00 00 00 00 00 00 0e 00 00 00 00 00 d0 11 00 00 |................|
00003370 00 00 00 00 00 00 0e 00 00 00 00 00 3b 40 00 00 |............;@..|
00003380 00 00 00 00 00 00 18 00 00 00 00 00 39 40 00 00 |............9@..|
00003390 00 00 00 00 00 00 18 00 00 00 00 00 36 40 00 00 |............6@..|
000033a0 00 00 00 00 00 00 18 00 00 00 00 00 32 40 00 00 |............2@..|
000033b0 00 00 00 00 00 00 18 00 00 00 00 00 2f 40 00 00 |............/@..|
000033c0 00 00 00 00 00 00 18 00 00 00 00 00 2c 40 00 00 |............,@..|
000033d0 00 00 00 00 00 00 18 00 00 00 00 00 28 40 00 00 |............(@..|
000033e0 00 00 00 00 00 00 18 00 01 00 00 00 00 00 00 00 |................|
000033f0 00 00 00 00 04 00 f1 ff a4 00 00 00 18 21 00 00 |.............!..|
00003400 00 00 00 00 01 00 12 00 00 00 00 00 00 00 00 00 |................|
00003410 00 00 00 00 04 00 f1 ff b2 00 00 00 e8 3e 00 00 |.............>..|
00003420 00 00 00 00 00 00 13 00 c3 00 00 00 ec 3e 00 00 |.............>..|
00003430 00 00 00 00 01 00 15 00 cc 00 00 00 e4 3e 00 00 |.............>..|
00003440 00 00 00 00 00 00 13 00 df 00 00 00 08 20 00 00 |............. ..|
00003450 00 00 00 00 00 00 11 00 f2 00 00 00 00 40 00 00 |.............@..|
00003460 00 00 00 00 01 00 17 00 25 02 00 00 00 10 00 00 |........%.......|
00003470 00 00 00 00 02 00 0b 00 08 01 00 00 40 13 00 00 |............@...|
00003480 01 00 00 00 12 00 0e 00 18 01 00 00 00 00 00 00 |................|
00003490 00 00 00 00 12 00 00 00 28 01 00 00 00 00 00 00 |........(.......|
000034a0 00 00 00 00 20 00 00 00 44 01 00 00 d0 10 00 00 |.... ...D.......|
000034b0 04 00 00 00 12 02 0e 00 a7 01 00 00 20 40 00 00 |............ @..|
000034c0 00 00 00 00 20 00 18 00 5a 01 00 00 00 00 00 00 |.... ...Z.......|
000034d0 00 00 00 00 12 00 00 00 6c 01 00 00 59 40 00 00 |........l...Y@..|
000034e0 00 00 00 00 10 00 18 00 12 01 00 00 44 13 00 00 |............D...|
000034f0 00 00 00 00 12 02 0f 00 73 01 00 00 c5 11 00 00 |........s.......|
00003500 00 00 00 00 12 02 0e 00 89 01 00 00 00 00 00 00 |................|
00003510 00 00 00 00 22 00 00 00 a5 01 00 00 20 40 00 00 |...."....... @..|
00003520 00 00 00 00 10 00 18 00 b2 01 00 00 00 00 00 00 |................|
00003530 00 00 00 00 12 00 00 00 c3 01 00 00 00 00 00 00 |................|
00003540 00 00 00 00 20 00 00 00 d2 01 00 00 00 00 00 00 |.... ...........|
00003550 00 00 00 00 12 00 00 00 e2 01 00 00 24 40 00 00 |............$@..|
00003560 00 00 00 00 11 02 18 00 ef 01 00 00 04 20 00 00 |............. ..|
00003570 04 00 00 00 11 00 10 00 fe 01 00 00 00 00 00 00 |................|
00003580 00 00 00 00 12 00 00 00 1b 02 00 00 e0 12 00 00 |................|
00003590 55 00 00 00 12 00 0e 00 be 00 00 00 5c 40 00 00 |U...........\@..|
000035a0 00 00 00 00 10 00 19 00 ab 01 00 00 90 10 00 00 |................|
000035b0 36 00 00 00 12 00 0e 00 2b 02 00 00 00 20 00 00 |6.......+.... ..|
000035c0 04 00 00 00 11 00 10 00 32 02 00 00 59 40 00 00 |........2...Y@..|
000035d0 00 00 00 00 10 00 19 00 3e 02 00 00 92 12 00 00 |........>.......|
000035e0 00 00 00 00 10 00 0e 00 43 02 00 00 5c 40 00 00 |........C...\@..|
000035f0 00 00 00 00 11 02 18 00 4f 02 00 00 00 00 00 00 |........O.......|
00003600 00 00 00 00 20 00 00 00 00 63 72 74 73 74 75 66 |.... ....crtstuf|
00003610 66 2e 63 00 64 65 72 65 67 69 73 74 65 72 5f 74 |f.c.deregister_t|
00003620 6d 5f 63 6c 6f 6e 65 73 00 5f 5f 64 6f 5f 67 6c |m_clones.__do_gl|
00003630 6f 62 61 6c 5f 64 74 6f 72 73 5f 61 75 78 00 63 |obal_dtors_aux.c|
00003640 6f 6d 70 6c 65 74 65 64 2e 36 38 38 36 00 5f 5f |ompleted.6886.__|
00003650 64 6f 5f 67 6c 6f 62 61 6c 5f 64 74 6f 72 73 5f |do_global_dtors_|
00003660 61 75 78 5f 66 69 6e 69 5f 61 72 72 61 79 5f 65 |aux_fini_array_e|
00003670 6e 74 72 79 00 66 72 61 6d 65 5f 64 75 6d 6d 79 |ntry.frame_dummy|
00003680 00 5f 5f 66 72 61 6d 65 5f 64 75 6d 6d 79 5f 69 |.__frame_dummy_i|
00003690 6e 69 74 5f 61 72 72 61 79 5f 65 6e 74 72 79 00 |nit_array_entry.|
000036a0 68 65 6c 6c 6f 31 32 2e 61 73 6d 00 5f 5f 46 52 |hello12.asm.__FR|
000036b0 41 4d 45 5f 45 4e 44 5f 5f 00 5f 5f 69 6e 69 74 |AME_END__.__init|
000036c0 5f 61 72 72 61 79 5f 65 6e 64 00 5f 44 59 4e 41 |_array_end._DYNA|
000036d0 4d 49 43 00 5f 5f 69 6e 69 74 5f 61 72 72 61 79 |MIC.__init_array|
000036e0 5f 73 74 61 72 74 00 5f 5f 47 4e 55 5f 45 48 5f |_start.__GNU_EH_|
000036f0 46 52 41 4d 45 5f 48 44 52 00 5f 47 4c 4f 42 41 |FRAME_HDR._GLOBA|
00003700 4c 5f 4f 46 46 53 45 54 5f 54 41 42 4c 45 5f 00 |L_OFFSET_TABLE_.|
00003710 5f 5f 6c 69 62 63 5f 63 73 75 5f 66 69 6e 69 00 |__libc_csu_fini.|
00003720 72 65 61 64 40 40 47 4c 49 42 43 5f 32 2e 30 00 |read@@GLIBC_2.0.|
00003730 5f 49 54 4d 5f 64 65 72 65 67 69 73 74 65 72 54 |_ITM_deregisterT|
00003740 4d 43 6c 6f 6e 65 54 61 62 6c 65 00 5f 5f 78 38 |MCloneTable.__x8|
00003750 36 2e 67 65 74 5f 70 63 5f 74 68 75 6e 6b 2e 62 |6.get_pc_thunk.b|
00003760 78 00 70 72 69 6e 74 66 40 40 47 4c 49 42 43 5f |x.printf@@GLIBC_|
00003770 32 2e 30 00 5f 65 64 61 74 61 00 5f 5f 78 38 36 |2.0._edata.__x86|
00003780 2e 67 65 74 5f 70 63 5f 74 68 75 6e 6b 2e 64 78 |.get_pc_thunk.dx|
00003790 00 5f 5f 63 78 61 5f 66 69 6e 61 6c 69 7a 65 40 |.__cxa_finalize@|
000037a0 40 47 4c 49 42 43 5f 32 2e 31 2e 33 00 5f 5f 64 |@GLIBC_2.1.3.__d|
000037b0 61 74 61 5f 73 74 61 72 74 00 73 63 61 6e 66 40 |ata_start.scanf@|
000037c0 40 47 4c 49 42 43 5f 32 2e 30 00 5f 5f 67 6d 6f |@GLIBC_2.0.__gmo|
000037d0 6e 5f 73 74 61 72 74 5f 5f 00 65 78 69 74 40 40 |n_start__.exit@@|
000037e0 47 4c 49 42 43 5f 32 2e 30 00 5f 5f 64 73 6f 5f |GLIBC_2.0.__dso_|
000037f0 68 61 6e 64 6c 65 00 5f 49 4f 5f 73 74 64 69 6e |handle._IO_stdin|
00003800 5f 75 73 65 64 00 5f 5f 6c 69 62 63 5f 73 74 61 |_used.__libc_sta|
00003810 72 74 5f 6d 61 69 6e 40 40 47 4c 49 42 43 5f 32 |rt_main@@GLIBC_2|
00003820 2e 30 00 5f 5f 6c 69 62 63 5f 63 73 75 5f 69 6e |.0.__libc_csu_in|
00003830 69 74 00 5f 66 70 5f 68 77 00 5f 5f 62 73 73 5f |it._fp_hw.__bss_|
00003840 73 74 61 72 74 00 6d 61 69 6e 00 5f 5f 54 4d 43 |start.main.__TMC|
00003850 5f 45 4e 44 5f 5f 00 5f 49 54 4d 5f 72 65 67 69 |_END__._ITM_regi|
00003860 73 74 65 72 54 4d 43 6c 6f 6e 65 54 61 62 6c 65 |sterTMCloneTable|
00003870 00 00 2e 73 79 6d 74 61 62 00 2e 73 74 72 74 61 |...symtab..strta|
00003880 62 00 2e 73 68 73 74 72 74 61 62 00 2e 69 6e 74 |b..shstrtab..int|
00003890 65 72 70 00 2e 6e 6f 74 65 2e 41 42 49 2d 74 61 |erp..note.ABI-ta|
000038a0 67 00 2e 6e 6f 74 65 2e 67 6e 75 2e 62 75 69 6c |g..note.gnu.buil|
000038b0 64 2d 69 64 00 2e 67 6e 75 2e 68 61 73 68 00 2e |d-id..gnu.hash..|
000038c0 64 79 6e 73 79 6d 00 2e 64 79 6e 73 74 72 00 2e |dynsym..dynstr..|
000038d0 67 6e 75 2e 76 65 72 73 69 6f 6e 00 2e 67 6e 75 |gnu.version..gnu|
000038e0 2e 76 65 72 73 69 6f 6e 5f 72 00 2e 72 65 6c 2e |.version_r..rel.|
000038f0 64 79 6e 00 2e 72 65 6c 2e 70 6c 74 00 2e 69 6e |dyn..rel.plt..in|
00003900 69 74 00 2e 70 6c 74 2e 67 6f 74 00 2e 74 65 78 |it..plt.got..tex|
00003910 74 00 2e 66 69 6e 69 00 2e 72 6f 64 61 74 61 00 |t..fini..rodata.|
00003920 2e 65 68 5f 66 72 61 6d 65 5f 68 64 72 00 2e 65 |.eh_frame_hdr..e|
00003930 68 5f 66 72 61 6d 65 00 2e 69 6e 69 74 5f 61 72 |h_frame..init_ar|
00003940 72 61 79 00 2e 66 69 6e 69 5f 61 72 72 61 79 00 |ray..fini_array.|
00003950 2e 64 79 6e 61 6d 69 63 00 2e 67 6f 74 2e 70 6c |.dynamic..got.pl|
00003960 74 00 2e 64 61 74 61 00 2e 62 73 73 00 2e 63 6f |t..data..bss..co|
00003970 6d 6d 65 6e 74 00 00 00 00 00 00 00 00 00 00 00 |mment...........|
00003980 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000039a0 1b 00 00 00 01 00 00 00 02 00 00 00 94 01 00 00 |................|
000039b0 94 01 00 00 13 00 00 00 00 00 00 00 00 00 00 00 |................|
000039c0 01 00 00 00 00 00 00 00 23 00 00 00 07 00 00 00 |........#.......|
000039d0 02 00 00 00 a8 01 00 00 a8 01 00 00 20 00 00 00 |............ ...|
000039e0 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 |................|
000039f0 31 00 00 00 07 00 00 00 02 00 00 00 c8 01 00 00 |1...............|
00003a00 c8 01 00 00 24 00 00 00 00 00 00 00 00 00 00 00 |....$...........|
00003a10 04 00 00 00 00 00 00 00 44 00 00 00 f6 ff ff 6f |........D......o|
00003a20 02 00 00 00 ec 01 00 00 ec 01 00 00 20 00 00 00 |............ ...|
00003a30 05 00 00 00 00 00 00 00 04 00 00 00 04 00 00 00 |................|
00003a40 4e 00 00 00 0b 00 00 00 02 00 00 00 0c 02 00 00 |N...............|
00003a50 0c 02 00 00 b0 00 00 00 06 00 00 00 01 00 00 00 |................|
00003a60 04 00 00 00 10 00 00 00 56 00 00 00 03 00 00 00 |........V.......|
00003a70 02 00 00 00 bc 02 00 00 bc 02 00 00 ad 00 00 00 |................|
00003a80 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 |................|
00003a90 5e 00 00 00 ff ff ff 6f 02 00 00 00 6a 03 00 00 |^......o....j...|
00003aa0 6a 03 00 00 16 00 00 00 05 00 00 00 00 00 00 00 |j...............|
00003ab0 02 00 00 00 02 00 00 00 6b 00 00 00 fe ff ff 6f |........k......o|
00003ac0 02 00 00 00 80 03 00 00 80 03 00 00 30 00 00 00 |............0...|
00003ad0 06 00 00 00 01 00 00 00 04 00 00 00 00 00 00 00 |................|
00003ae0 7a 00 00 00 09 00 00 00 02 00 00 00 b0 03 00 00 |z...............|
00003af0 b0 03 00 00 d8 00 00 00 05 00 00 00 00 00 00 00 |................|
00003b00 04 00 00 00 08 00 00 00 83 00 00 00 09 00 00 00 |................|
00003b10 42 00 00 00 88 04 00 00 88 04 00 00 28 00 00 00 |B...........(...|
00003b20 05 00 00 00 17 00 00 00 04 00 00 00 08 00 00 00 |................|
00003b30 8c 00 00 00 01 00 00 00 06 00 00 00 00 10 00 00 |................|
00003b40 00 10 00 00 20 00 00 00 00 00 00 00 00 00 00 00 |.... ...........|
00003b50 04 00 00 00 00 00 00 00 87 00 00 00 01 00 00 00 |................|
00003b60 06 00 00 00 20 10 00 00 20 10 00 00 60 00 00 00 |.... ... ...`...|
00003b70 00 00 00 00 00 00 00 00 10 00 00 00 04 00 00 00 |................|
00003b80 92 00 00 00 01 00 00 00 06 00 00 00 80 10 00 00 |................|
00003b90 80 10 00 00 08 00 00 00 00 00 00 00 00 00 00 00 |................|
00003ba0 08 00 00 00 08 00 00 00 9b 00 00 00 01 00 00 00 |................|
00003bb0 06 00 00 00 90 10 00 00 90 10 00 00 b1 02 00 00 |................|
00003bc0 00 00 00 00 00 00 00 00 10 00 00 00 00 00 00 00 |................|
00003bd0 a1 00 00 00 01 00 00 00 06 00 00 00 44 13 00 00 |............D...|
00003be0 44 13 00 00 14 00 00 00 00 00 00 00 00 00 00 00 |D...............|
00003bf0 04 00 00 00 00 00 00 00 a7 00 00 00 01 00 00 00 |................|
00003c00 02 00 00 00 00 20 00 00 00 20 00 00 08 00 00 00 |..... ... ......|
00003c10 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 |................|
00003c20 af 00 00 00 01 00 00 00 02 00 00 00 08 20 00 00 |............. ..|
00003c30 08 20 00 00 34 00 00 00 00 00 00 00 00 00 00 00 |. ..4...........|
00003c40 04 00 00 00 00 00 00 00 bd 00 00 00 01 00 00 00 |................|
00003c50 02 00 00 00 3c 20 00 00 3c 20 00 00 e0 00 00 00 |....< ..< ......|
00003c60 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 |................|
00003c70 c7 00 00 00 0e 00 00 00 03 00 00 00 e4 3e 00 00 |.............>..|
00003c80 e4 2e 00 00 04 00 00 00 00 00 00 00 00 00 00 00 |................|
00003c90 04 00 00 00 04 00 00 00 d3 00 00 00 0f 00 00 00 |................|
00003ca0 03 00 00 00 e8 3e 00 00 e8 2e 00 00 04 00 00 00 |.....>..........|
00003cb0 00 00 00 00 00 00 00 00 04 00 00 00 04 00 00 00 |................|
00003cc0 df 00 00 00 06 00 00 00 03 00 00 00 ec 3e 00 00 |.............>..|
00003cd0 ec 2e 00 00 00 01 00 00 06 00 00 00 00 00 00 00 |................|
00003ce0 04 00 00 00 08 00 00 00 96 00 00 00 01 00 00 00 |................|
00003cf0 03 00 00 00 ec 3f 00 00 ec 2f 00 00 14 00 00 00 |.....?.../......|
00003d00 00 00 00 00 00 00 00 00 04 00 00 00 04 00 00 00 |................|
00003d10 e8 00 00 00 01 00 00 00 03 00 00 00 00 40 00 00 |.............@..|
00003d20 00 30 00 00 20 00 00 00 00 00 00 00 00 00 00 00 |.0.. ...........|
00003d30 04 00 00 00 04 00 00 00 f1 00 00 00 01 00 00 00 |................|
00003d40 03 00 00 00 20 40 00 00 20 30 00 00 39 00 00 00 |.... @.. 0..9...|
00003d50 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 |................|
00003d60 f7 00 00 00 08 00 00 00 03 00 00 00 59 40 00 00 |............Y@..|
00003d70 59 30 00 00 03 00 00 00 00 00 00 00 00 00 00 00 |Y0..............|
00003d80 01 00 00 00 00 00 00 00 fc 00 00 00 01 00 00 00 |................|
00003d90 30 00 00 00 00 00 00 00 59 30 00 00 1c 00 00 00 |0.......Y0......|
00003da0 00 00 00 00 00 00 00 00 01 00 00 00 01 00 00 00 |................|
00003db0 01 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 |................|
00003dc0 78 30 00 00 90 05 00 00 1c 00 00 00 40 00 00 00 |x0..........@...|
00003dd0 04 00 00 00 10 00 00 00 09 00 00 00 03 00 00 00 |................|
00003de0 00 00 00 00 00 00 00 00 08 36 00 00 69 02 00 00 |.........6..i...|
00003df0 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 |................|
00003e00 11 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 |................|
00003e10 71 38 00 00 05 01 00 00 00 00 00 00 00 00 00 00 |q8..............|
00003e20 01 00 00 00 00 00 00 00 |........|
00003e28
78 56 43 21 is at Little endian form