diff options
Diffstat (limited to 'subx/038---literal_strings.cc')
-rw-r--r-- | subx/038---literal_strings.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/subx/038---literal_strings.cc b/subx/038---literal_strings.cc index 97542f43..b17947c0 100644 --- a/subx/038---literal_strings.cc +++ b/subx/038---literal_strings.cc @@ -4,10 +4,9 @@ //: always be the second segment). :(scenario transform_literal_string) -% Mem_offset = CODE_START; -% Mem.resize(AFTER_STACK - CODE_START); == code b8/copy "test"/imm32 # copy to EAX +== data # need to manually create this for now +transform: -- move literal strings to data segment +transform: adding global variable '__subx_global_1' containing "test" +transform: instruction after transform: 'b8 __subx_global_1' |