~cpp
char t[] = "1234";
char *p = "5678";
char k[] = "123456";
.LC1:
.string "5678"
.LC0:
.string "1234"
.LC2:
.string "123456";
// char t[] = "1234";
movl .LC0, %eax
movl %eax, -9(%ebp)
movb .LC0+4, %al
movb %al, -5(%ebp)
// char *p = "5678";
movl $.LC1, -4(%ebp)
// char k[] = "123456";
leal -19(%ebp), %edi
movl $.LC0, %esi
cld
movl $7, %ecx
rep
movsb
// 마막 k변는 index 를 메모리를 목 .
// 면 index 메모리를 복는 eax 복는 보 느리는 ?
람들 뚱 는 문?
t는
능
만 p는
능
.
냐
면
램
모
메모리
.
,
LC0,
LC1 램
부
데
.
는
LC1 리
므
메모리
변
면
는
램
(CODE
)
리
.
만 배
(
LC0)
램
부
는
LC0 데
를
복
.
, 배
CODE
리
므
능
는
.