play.asm

URL: https://mirkwood.cs.edinboro.edu/~bennett/class/cmsc3100/spring2026/notes/begin/code/play.asm
 

%include "CONSTANTS.h"

section .data
    storage: db 1,2,3,4,5,6,7,8

section .bss

section .text

global main
main:

    mov rax, 1122334455667788h
    mov qword [storage], 0
    mov [storage], al
    mov [storage], ah
    mov [storage], ax
    mov [storage], eax
    mov [storage], rax

    mov rax, 0x4142434445464748
    mov [storage], rax

    jmp Exit