diff options
| author | Bond_009 <bond.009@outlook.com> | 2020-12-26 23:47:50 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2020-12-26 23:47:50 +0100 |
| commit | 8fe6e81226a895d4e5300becdea73538dbd58505 (patch) | |
| tree | 6f1546529fc365ae772eea7c8d771ddb8a9242b2 | |
| parent | 89ab7b172bfda17ddfd3395b9c7a157b32a52609 (diff) | |
Move .data to .rodata
| -rw-r--r-- | 10/possible_seq.asm | 2 | ||||
| -rw-r--r-- | 5/seat_id.asm | 2 | ||||
| -rw-r--r-- | 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 |
