From 8fe6e81226a895d4e5300becdea73538dbd58505 Mon Sep 17 00:00:00 2001 From: Bond_009 Date: Sat, 26 Dec 2020 23:47:50 +0100 Subject: Move .data to .rodata --- 10/possible_seq.asm | 2 +- 5/seat_id.asm | 2 -- 5/seat_id_sse3.asm | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/10/possible_seq.asm b/10/possible_seq.asm index 15c6586..b737d13 100644 --- a/10/possible_seq.asm +++ b/10/possible_seq.asm @@ -1,6 +1,6 @@ global possible_seq -section .data +section .rodata TRIB: dq 1, 1, 2, 4, 7 ; tribonacci sequence (without first 2 zeroes) section .text diff --git a/5/seat_id.asm b/5/seat_id.asm index 6b927ed..a372a9a 100644 --- a/5/seat_id.asm +++ b/5/seat_id.asm @@ -1,7 +1,5 @@ global seat_id -section .data - section .text seat_id: diff --git a/5/seat_id_sse3.asm b/5/seat_id_sse3.asm index 9ea9720..a377932 100644 --- a/5/seat_id_sse3.asm +++ b/5/seat_id_sse3.asm @@ -1,6 +1,6 @@ global seat_id -section .data +section .rodata align 16 xmm_shuf: db 8, 7, 6, 5, 4, 3, 2, 1, 0, 9, 10, 11, 12, 13, 14, 15 xmm_cmp: db 1, 'RBBBBBBB', 1, 1, 1, 1, 1, 1, 1 -- cgit v1.2.3