Aseembly Language Only 1. Do the following problems a. Find the 32-bit and 64-bi
ID: 3840843 • Letter: A
Question
Aseembly Language Only
1. Do the following problems
a. Find the 32-bit and 64-bit 2’s complement, 1’s complement and sign-magnitude representations of the decimal value: 32767.
b. Find the 32-bit and 64-bit 2’s complement, 1’s complement and sign-magnitude representations of the decimal value: –32767.
c. Find the decimal values of the number 98C2 417DH interpreted as a 2’s complement, and then interpreted as unsigned representation.
d. What is displayed when the following sequence of ASCII codes is output to a computer screen: 6E 61 6D 0D 0A 61 64 72 65 73 73 0D 0A 63 69 74 79 0D 0A.
e. Given the number 39254861H, determine value under the interpretation as an unsigned integer, then as a 4-tuple of ASCII codes.
f. Convert 356 (base 7) into numbers in bases 10, 2, 16 and 5.
Explanation / Answer
.file "example.cpp"
.intel_syntax noprefix
.text
.Ltext0:
.globl c
.bss
.align 4
.type c, @object
.size c, 4
c:
.zero 4
.globl a
.align 8
.type a, @object
.size a, 10
a:
.zero 10
.globl a1
.align 8
.type a1, @object
.size a1, 10
a1:
.zero 10
.section .rodata
.LC0:
.string "n<--Menu-->"
.LC1:
.string "n1.Enter Number"
.LC2:
.string "n2.Find 1'st Complement"
.LC3:
.string "n3.Find 2's Complement"
.LC4:
.string "n4.Exit"
.LC5:
.string "n Please Enter Your choice"
.LC6:
.string "%d"
.text
.globl main
.type main, @function
main:
.LFB0:
.file 1 "/tmp/compiler-explorer-compiler117418-65-3qz0dz.mv72hme7b9/example.cpp"
.loc 1 10 0
.cfi_startproc
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
.L10:
.loc 1 12 0
mov edi, OFFSET FLAT:.LC0
mov eax, 0
call printf
.loc 1 13 0
mov edi, OFFSET FLAT:.LC1
mov eax, 0
call printf
.loc 1 14 0
mov edi, OFFSET FLAT:.LC2
mov eax, 0
call printf
.loc 1 15 0
mov edi, OFFSET FLAT:.LC3
mov eax, 0
call printf
.loc 1 16 0
mov edi, OFFSET FLAT:.LC4
mov eax, 0
call printf
.loc 1 17 0
mov edi, OFFSET FLAT:.LC5
mov eax, 0
call printf
.loc 1 18 0
mov esi, OFFSET FLAT:c
mov edi, OFFSET FLAT:.LC6
mov eax, 0
call scanf
.loc 1 19 0
mov eax, DWORD PTR c[rip]
cmp eax, 2
je .L3
cmp eax, 2
jg .L4
cmp eax, 1
je .L5
.loc 1 28 0
jmp .L8
.L4:
.loc 1 19 0
cmp eax, 3
je .L6
cmp eax, 4
je .L12
.loc 1 28 0
jmp .L8
.L5:
.loc 1 21 0
call readno()
.loc 1 22 0
jmp .L8
.L3:
.loc 1 23 0
call first()
.loc 1 24 0
jmp .L8
.L6:
.loc 1 25 0
call second()
.loc 1 26 0
jmp .L8
.L12:
.loc 1 27 0
nop
.L8:
.loc 1 30 0
mov eax, DWORD PTR c[rip]
cmp eax, 4
je .L9
.loc 1 11 0
jmp .L10
.L9:
.loc 1 32 0
mov eax, 0
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size main, .-main
.section .rodata
.LC7:
.string "nPlease Enter Binary Number "
.LC8:
.string "%s"
.text
.globl readno()
.type readno(), @function
readno():
.LFB1:
.loc 1 35 0
.cfi_startproc
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
.loc 1 36 0
mov edi, OFFSET FLAT:.LC7
mov eax, 0
call printf
.loc 1 37 0
mov esi, OFFSET FLAT:a
mov edi, OFFSET FLAT:.LC8
mov eax, 0
call scanf
.loc 1 38 0
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE1:
.size readno(), .-readno()
.section .rodata
.LC9:
.string "n Given Number is=> %s "
.LC10:
.string "n 1st Complement is =>> %s n"
.text
.globl first()
.type first(), @function
first():
.LFB2:
.loc 1 41 0
.cfi_startproc
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
.loc 1 42 0
mov esi, OFFSET FLAT:a
mov edi, OFFSET FLAT:.LC9
mov eax, 0
call printf
.loc 1 44 0
mov QWORD PTR [rbp-8], OFFSET FLAT:a
.loc 1 45 0
mov QWORD PTR [rbp-16], OFFSET FLAT:a1
.L18:
.loc 1 48 0
mov rax, QWORD PTR [rbp-8]
movzx eax, BYTE PTR [rax]
cmp al, 49
jne .L15
.loc 1 49 0
mov rax, QWORD PTR [rbp-16]
mov BYTE PTR [rax], 48
jmp .L16
.L15:
.loc 1 51 0
mov rax, QWORD PTR [rbp-16]
mov BYTE PTR [rax], 49
.L16:
.loc 1 52 0
add QWORD PTR [rbp-8], 1
.loc 1 53 0
add QWORD PTR [rbp-16], 1
.loc 1 54 0
mov rax, QWORD PTR [rbp-8]
movzx eax, BYTE PTR [rax]
cmp al, 32
je .L17
.loc 1 46 0
jmp .L18
.L17:
.loc 1 55 0
mov esi, OFFSET FLAT:a1
mov edi, OFFSET FLAT:.LC10
mov eax, 0
call printf
.loc 1 56 0
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE2:
.size first(), .-first()
.section .rodata
.LC11:
.string "n 2's Complement => %s n"
.text
.globl second()
.type second(), @function
second():
.LFB3:
.loc 1 62 0
.cfi_startproc
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
.loc 1 63 0
call first()
.loc 1 64 0
mov QWORD PTR [rbp-8], OFFSET FLAT:a1
.L21:
.loc 1 66 0
add QWORD PTR [rbp-8], 1
mov rax, QWORD PTR [rbp-8]
movzx eax, BYTE PTR [rax]
cmp al, 32
je .L20
.loc 1 65 0
jmp .L21
.L20:
.loc 1 67 0
sub QWORD PTR [rbp-8], 1
.L25:
.loc 1 70 0
mov rax, QWORD PTR [rbp-8]
movzx eax, BYTE PTR [rax]
cmp al, 49
jne .L22
.loc 1 72 0
mov rax, QWORD PTR [rbp-8]
mov BYTE PTR [rax], 48
.loc 1 73 0
sub QWORD PTR [rbp-8], 1
jmp .L23
.L22:
.loc 1 76 0
mov rax, QWORD PTR [rbp-8]
movzx eax, BYTE PTR [rax]
cmp al, 48
jne .L23
.loc 1 78 0
mov rax, QWORD PTR [rbp-8]
mov BYTE PTR [rax], 49
.loc 1 79 0
jmp .L24
.L23:
.loc 1 81 0
cmp QWORD PTR [rbp-8], OFFSET FLAT:a1
je .L24
.loc 1 68 0
jmp .L25
.L24:
.loc 1 82 0
mov esi, OFFSET FLAT:a1
mov edi, OFFSET FLAT:.LC11
mov eax, 0
call printf
.loc 1 83 0
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE3:
.size second(), .-second()
.Letext0:
.file 2 "/opt/compiler-explorer/gcc-6.3.0/lib/gcc/x86_64-linux-gnu/6.3.0/include/stddef.h"
.file 3 "/usr/include/x86_64-linux-gnu/bits/types.h"
.file 4 "/usr/include/libio.h"
.file 5 "/usr/include/stdio.h"
.file 6 "/usr/include/x86_64-linux-gnu/bits/sys_errlist.h"
.section .debug_info,"",@progbits
.Ldebug_info0:
.long 0x407
.value 0x4
.long .Ldebug_abbrev0
.byte 0x8
.uleb128 0x1
.long .LASF62
.byte 0x4
.long .LASF63
.long .LASF64
.quad .Ltext0
.quad .Letext0-.Ltext0
.long .Ldebug_line0
.uleb128 0x2
.long .LASF7
.byte 0x2
.byte 0xd8
.long 0x38
.uleb128 0x3
.byte 0x8
.byte 0x7
.long .LASF0
.uleb128 0x3
.byte 0x1
.byte 0x8
.long .LASF1
.uleb128 0x3
.byte 0x2
.byte 0x7
.long .LASF2
.uleb128 0x3
.byte 0x4
.byte 0x7
.long .LASF3
.uleb128 0x3
.byte 0x1
.byte 0x6
.long .LASF4
.uleb128 0x3
.byte 0x2
.byte 0x5
.long .LASF5
.uleb128 0x4
.byte 0x4
.byte 0x5
.string "int"
.uleb128 0x3
.byte 0x8
.byte 0x5
.long .LASF6
.uleb128 0x2
.long .LASF8
.byte 0x3
.byte 0x83
.long 0x69
.uleb128 0x2
.long .LASF9
.byte 0x3
.byte 0x84
.long 0x69
.uleb128 0x3
.byte 0x8
.byte 0x7
.long .LASF10
.uleb128 0x5
.byte 0x8
.uleb128 0x6
.byte 0x8
.long 0x95
.uleb128 0x3
.byte 0x1
.byte 0x6
.long .LASF11
.uleb128 0x7
.long 0x95
.uleb128 0x8
.long .LASF41
.byte 0xd8
.byte 0x4
.byte 0xf1
.long 0x21e
.uleb128 0x9
.long .LASF12
.byte 0x4
.byte 0xf2
.long 0x62
.byte 0
.uleb128 0x9
.long .LASF13
.byte 0x4
.byte 0xf7
.long 0x8f
.byte 0x8
.uleb128 0x9
.long .LASF14
.byte 0x4
.byte 0xf8
.long 0x8f
.byte 0x10
.uleb128 0x9
.long .LASF15
.byte 0x4
.byte 0xf9
.long 0x8f
.byte 0x18
.uleb128 0x9
.long .LASF16
.byte 0x4
.byte 0xfa
.long 0x8f
.byte 0x20
.uleb128 0x9
.long .LASF17
.byte 0x4
.byte 0xfb
.long 0x8f
.byte 0x28
.uleb128 0x9
.long .LASF18
.byte 0x4
.byte 0xfc
.long 0x8f
.byte 0x30
.uleb128 0x9
.long .LASF19
.byte 0x4
.byte 0xfd
.long 0x8f
.byte 0x38
.uleb128 0x9
.long .LASF20
.byte 0x4
.byte 0xfe
.long 0x8f
.byte 0x40
.uleb128 0xa
.long .LASF21
.byte 0x4
.value 0x100
.long 0x8f
.byte 0x48
.uleb128 0xa
.long .LASF22
.byte 0x4
.value 0x101
.long 0x8f
.byte 0x50
.uleb128 0xa
.long .LASF23
.byte 0x4
.value 0x102
.long 0x8f
.byte 0x58
.uleb128 0xa
.long .LASF24
.byte 0x4
.value 0x104
.long 0x256
.byte 0x60
.uleb128 0xa
.long .LASF25
.byte 0x4
.value 0x106
.long 0x25c
.byte 0x68
.uleb128 0xa
.long .LASF26
.byte 0x4
.value 0x108
.long 0x62
.byte 0x70
.uleb128 0xa
.long .LASF27
.byte 0x4
.value 0x10c
.long 0x62
.byte 0x74
.uleb128 0xa
.long .LASF28
.byte 0x4
.value 0x10e
.long 0x70
.byte 0x78
.uleb128 0xa
.long .LASF29
.byte 0x4
.value 0x112
.long 0x46
.byte 0x80
.uleb128 0xa
.long .LASF30
.byte 0x4
.value 0x113
.long 0x54
.byte 0x82
.uleb128 0xa
.long .LASF31
.byte 0x4
.value 0x114
.long 0x262
.byte 0x83
.uleb128 0xa
.long .LASF32
.byte 0x4
.value 0x118
.long 0x272
.byte 0x88
.uleb128 0xa
.long .LASF33
.byte 0x4
.value 0x121
.long 0x7b
.byte 0x90
.uleb128 0xa
.long .LASF34
.byte 0x4
.value 0x129
.long 0x8d
.byte 0x98
.uleb128 0xa
.long .LASF35
.byte 0x4
.value 0x12a
.long 0x8d
.byte 0xa0
.uleb128 0xa
.long .LASF36
.byte 0x4
.value 0x12b
.long 0x8d
.byte 0xa8
.uleb128 0xa
.long .LASF37
.byte 0x4
.value 0x12c
.long 0x8d
.byte 0xb0
.uleb128 0xa
.long .LASF38
.byte 0x4
.value 0x12e
.long 0x2d
.byte 0xb8
.uleb128 0xa
.long .LASF39
.byte 0x4
.value 0x12f
.long 0x62
.byte 0xc0
.uleb128 0xa
.long .LASF40
.byte 0x4
.value 0x131
.long 0x278
.byte 0xc4
.byte 0
.uleb128 0xb
.long .LASF65
.byte 0x4
.byte 0x96
.uleb128 0x8
.long .LASF42
.byte 0x18
.byte 0x4
.byte 0x9c
.long 0x256
.uleb128 0x9
.long .LASF43
.byte 0x4
.byte 0x9d
.long 0x256
.byte 0
.uleb128 0x9
.long .LASF44
.byte 0x4
.byte 0x9e
.long 0x25c
.byte 0x8
.uleb128 0x9
.long .LASF45
.byte 0x4
.byte 0xa2
.long 0x62
.byte 0x10
.byte 0
.uleb128 0x6
.byte 0x8
.long 0x225
.uleb128 0x6
.byte 0x8
.long 0xa1
.uleb128 0xc
.long 0x95
.long 0x272
.uleb128 0xd
.long 0x86
.byte 0
.byte 0
.uleb128 0x6
.byte 0x8
.long 0x21e
.uleb128 0xc
.long 0x95
.long 0x288
.uleb128 0xd
.long 0x86
.byte 0x13
.byte 0
.uleb128 0xe
.long .LASF66
.uleb128 0xf
.long .LASF46
.byte 0x4
.value 0x13b
.long 0x288
.uleb128 0xf
.long .LASF47
.byte 0x4
.value 0x13c
.long 0x288
.uleb128 0xf
.long .LASF48
.byte 0x4
.value 0x13d
.long 0x288
.uleb128 0x6
.byte 0x8
.long 0x9c
.uleb128 0x7
.long 0x2b1
.uleb128 0x10
.long .LASF49
.byte 0x5
.byte 0xa8
.long 0x25c
.uleb128 0x10
.long .LASF50
.byte 0x5
.byte 0xa9
.long 0x25c
.uleb128 0x10
.long .LASF51
.byte 0x5
.byte 0xaa
.long 0x25c
.uleb128 0x10
.long .LASF52
.byte 0x6
.byte 0x1a
.long 0x62
.uleb128 0xc
.long 0x2b7
.long 0x2f3
.uleb128 0x11
.byte 0
.uleb128 0x10
.long .LASF53
.byte 0x6
.byte 0x1b
.long 0x2e8
.uleb128 0x10
.long .LASF54
.byte 0x6
.byte 0x1e
.long 0x62
.uleb128 0x10
.long .LASF55
.byte 0x6
.byte 0x1f
.long 0x2e8
.uleb128 0x12
.string "c"
.byte 0x1
.byte 0x3
.long 0x62
.uleb128 0x9
.byte 0x3
.quad c
.uleb128 0xc
.long 0x95
.long 0x337
.uleb128 0xd
.long 0x86
.byte 0x9
.byte 0
.uleb128 0x12
.string "a"
.byte 0x1
.byte 0x4
.long 0x327
.uleb128 0x9
.byte 0x3
.quad a
.uleb128 0x12
.string "a1"
.byte 0x1
.byte 0x5
.long 0x327
.uleb128 0x9
.byte 0x3
.quad a1
.uleb128 0x13
.long .LASF56
.byte 0x1
.byte 0x3d
.long .LASF58
.quad .LFB3
.quad .LFE3-.LFB3
.uleb128 0x1
.byte 0x9c
.long 0x38c
.uleb128 0x14
.string "c"
.byte 0x1
.byte 0x40
.long 0x8f
.uleb128 0x2
.byte 0x91
.sleb128 -24
.byte 0
.uleb128 0x13
.long .LASF57
.byte 0x1
.byte 0x28
.long .LASF59
.quad .LFB2
.quad .LFE2-.LFB2
.uleb128 0x1
.byte 0x9c
.long 0x3d0
.uleb128 0x15
.string "i"
.byte 0x1
.byte 0x2b
.long 0x62
.uleb128 0x14
.string "c"
.byte 0x1
.byte 0x2c
.long 0x8f
.uleb128 0x2
.byte 0x91
.sleb128 -24
.uleb128 0x14
.string "c1"
.byte 0x1
.byte 0x2d
.long 0x8f
.uleb128 0x2
.byte 0x91
.sleb128 -32
.byte 0
.uleb128 0x16
.long .LASF60
.byte 0x1
.byte 0x22
.long .LASF67
.quad .LFB1
.quad .LFE1-.LFB1
.uleb128 0x1
.byte 0x9c
.uleb128 0x17
.long .LASF61
.byte 0x1
.byte 0x9
.long 0x62
.quad .LFB0
.quad .LFE0-.LFB0
.uleb128 0x1
.byte 0x9c
.byte 0
.section .debug_abbrev,"",@progbits
.Ldebug_abbrev0:
.uleb128 0x1
.uleb128 0x11
.byte 0x1
.uleb128 0x25
.uleb128 0xe
.uleb128 0x13
.uleb128 0xb
.uleb128 0x3
.uleb128 0xe
.uleb128 0x1b
.uleb128 0xe
.uleb128 0x11
.uleb128 0x1
.uleb128 0x12
.uleb128 0x7
.uleb128 0x10
.uleb128 0x17
.byte 0
.byte 0
.uleb128 0x2
.uleb128 0x16
.byte 0
.uleb128 0x3
.uleb128 0xe
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.byte 0
.byte 0
.uleb128 0x3
.uleb128 0x24
.byte 0
.uleb128 0xb
.uleb128 0xb
.uleb128 0x3e
.uleb128 0xb
.uleb128 0x3
.uleb128 0xe
.byte 0
.byte 0
.uleb128 0x4
.uleb128 0x24
.byte 0
.uleb128 0xb
.uleb128 0xb
.uleb128 0x3e
.uleb128 0xb
.uleb128 0x3
.uleb128 0x8
.byte 0
.byte 0
.uleb128 0x5
.uleb128 0xf
.byte 0
.uleb128 0xb
.uleb128 0xb
.byte 0
.byte 0
.uleb128 0x6
.uleb128 0xf
.byte 0
.uleb128 0xb
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.byte 0
.byte 0
.uleb128 0x7
.uleb128 0x26
.byte 0
.uleb128 0x49
.uleb128 0x13
.byte 0
.byte 0
.uleb128 0x8
.uleb128 0x13
.byte 0x1
.uleb128 0x3
.uleb128 0xe
.uleb128 0xb
.uleb128 0xb
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x1
.uleb128 0x13
.byte 0
.byte 0
.uleb128 0x9
.uleb128 0xd
.byte 0
.uleb128 0x3
.uleb128 0xe
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.uleb128 0x38
.uleb128 0xb
.byte 0
.byte 0
.uleb128 0xa
.uleb128 0xd
.byte 0
.uleb128 0x3
.uleb128 0xe
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0x5
.uleb128 0x49
.uleb128 0x13
.uleb128 0x38
.uleb128 0xb
.byte 0
.byte 0
.uleb128 0xb
.uleb128 0x16
.byte 0
.uleb128 0x3
.uleb128 0xe
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.byte 0
.byte 0
.uleb128 0xc
.uleb128 0x1
.byte 0x1
.uleb128 0x49
.uleb128 0x13
.uleb128 0x1
.uleb128 0x13
.byte 0
.byte 0
.uleb128 0xd
.uleb128 0x21
.byte 0
.uleb128 0x49
.uleb128 0x13
.uleb128 0x2f
.uleb128 0xb
.byte 0
.byte 0
.uleb128 0xe
.uleb128 0x13
.byte 0
.uleb128 0x3
.uleb128 0xe
.uleb128 0x3c
.uleb128 0x19
.byte 0
.byte 0
.uleb128 0xf
.uleb128 0x34
.byte 0
.uleb128 0x3
.uleb128 0xe
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0x5
.uleb128 0x49
.uleb128 0x13
.uleb128 0x3f
.uleb128 0x19
.uleb128 0x3c
.uleb128 0x19
.byte 0
.byte 0
.uleb128 0x10
.uleb128 0x34
.byte 0
.uleb128 0x3
.uleb128 0xe
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.uleb128 0x3f
.uleb128 0x19
.uleb128 0x3c
.uleb128 0x19
.byte 0
.byte 0
.uleb128 0x11
.uleb128 0x21
.byte 0
.byte 0
.byte 0
.uleb128 0x12
.uleb128 0x34
.byte 0
.uleb128 0x3
.uleb128 0x8
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.uleb128 0x3f
.uleb128 0x19
.uleb128 0x2
.uleb128 0x18
.byte 0
.byte 0
.uleb128 0x13
.uleb128 0x2e
.byte 0x1
.uleb128 0x3f
.uleb128 0x19
.uleb128 0x3
.uleb128 0xe
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x6e
.uleb128 0xe
.uleb128 0x11
.uleb128 0x1
.uleb128 0x12
.uleb128 0x7
.uleb128 0x40
.uleb128 0x18
.uleb128 0x2116
.uleb128 0x19
.uleb128 0x1
.uleb128 0x13
.byte 0
.byte 0
.uleb128 0x14
.uleb128 0x34
.byte 0
.uleb128 0x3
.uleb128 0x8
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.uleb128 0x2
.uleb128 0x18
.byte 0
.byte 0
.uleb128 0x15
.uleb128 0x34
.byte 0
.uleb128 0x3
.uleb128 0x8
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.byte 0
.byte 0
.uleb128 0x16
.uleb128 0x2e
.byte 0
.uleb128 0x3f
.uleb128 0x19
.uleb128 0x3
.uleb128 0xe
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x6e
.uleb128 0xe
.uleb128 0x11
.uleb128 0x1
.uleb128 0x12
.uleb128 0x7
.uleb128 0x40
.uleb128 0x18
.uleb128 0x2116
.uleb128 0x19
.byte 0
.byte 0
.uleb128 0x17
.uleb128 0x2e
.byte 0
.uleb128 0x3f
.uleb128 0x19
.uleb128 0x3
.uleb128 0xe
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.uleb128 0x11
.uleb128 0x1
.uleb128 0x12
.uleb128 0x7
.uleb128 0x40
.uleb128 0x18
.uleb128 0x2116
.uleb128 0x19
.byte 0
.byte 0
.byte 0
.section .debug_aranges,"",@progbits
.long 0x2c
.value 0x2
.long .Ldebug_info0
.byte 0x8
.byte 0
.value 0
.value 0
.quad .Ltext0
.quad .Letext0-.Ltext0
.quad 0
.quad 0
.section .debug_line,"",@progbits
.Ldebug_line0:
.section .debug_str,"MS",@progbits,1
.LASF20:
.string "_IO_buf_end"
.LASF28:
.string "_old_offset"
.LASF52:
.string "sys_nerr"
.LASF23:
.string "_IO_save_end"
.LASF5:
.string "short int"
.LASF7:
.string "size_t"
.LASF10:
.string "sizetype"
.LASF33:
.string "_offset"
.LASF67:
.string "readno()"
.LASF17:
.string "_IO_write_ptr"
.LASF12:
.string "_flags"
.LASF19:
.string "_IO_buf_base"
.LASF24:
.string "_markers"
.LASF14:
.string "_IO_read_end"
.LASF62:
.string "GNU C++14 6.3.0 -masm=intel -mtune=generic -march=x86-64 -g"
.LASF58:
.string "second()"
.LASF55:
.string "_sys_errlist"
.LASF51:
.string "stderr"
.LASF60:
.string "readno"
.LASF32:
.string "_lock"
.LASF6:
.string "long int"
.LASF29:
.string "_cur_column"
.LASF48:
.string "_IO_2_1_stderr_"
.LASF66:
.string "_IO_FILE_plus"
.LASF45:
.string "_pos"
.LASF54:
.string "_sys_nerr"
.LASF44:
.string "_sbuf"
.LASF41:
.string "_IO_FILE"
.LASF1:
.string "unsigned char"
.LASF59:
.string "first()"
.LASF4:
.string "signed char"
.LASF56:
.string "second"
.LASF46:
.string "_IO_2_1_stdin_"
.LASF3:
.string "unsigned int"
.LASF42:
.string "_IO_marker"
.LASF31:
.string "_shortbuf"
.LASF64:
.string "/compiler-explorer"
.LASF16:
.string "_IO_write_base"
.LASF40:
.string "_unused2"
.LASF13:
.string "_IO_read_ptr"
.LASF2:
.string "short unsigned int"
.LASF11:
.string "char"
.LASF61:
.string "main"
.LASF43:
.string "_next"
.LASF34:
.string "__pad1"
.LASF35:
.string "__pad2"
.LASF36:
.string "__pad3"
.LASF37:
.string "__pad4"
.LASF38:
.string "__pad5"
.LASF63:
.string "/tmp/compiler-explorer-compiler117418-65-3qz0dz.mv72hme7b9/example.cpp"
.LASF0:
.string "long unsigned int"
.LASF18:
.string "_IO_write_end"
.LASF9:
.string "__off64_t"
.LASF8:
.string "__off_t"
.LASF25:
.string "_chain"
.LASF22:
.string "_IO_backup_base"
.LASF49:
.string "stdin"
.LASF27:
.string "_flags2"
.LASF39:
.string "_mode"
.LASF15:
.string "_IO_read_base"
.LASF30:
.string "_vtable_offset"
.LASF21:
.string "_IO_save_base"
.LASF53:
.string "sys_errlist"
.LASF26:
.string "_fileno"
.LASF50:
.string "stdout"
.LASF47:
.string "_IO_2_1_stdout_"
.LASF65:
.string "_IO_lock_t"
.LASF57:
.string "first"
.ident "GCC: (GCC-Explorer-Build) 6.3.0"
.section .note.GNU-stack,"",@progbits
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.