[Info-vax] Bliss
Craig A. Berry
craigberry at nospam.mac.com
Fri Jul 26 17:58:07 EDT 2024
On 7/26/24 2:42 PM, John Reagan wrote:
> On 7/25/2024 10:10 PM, Lawrence D'Oliveiro wrote:
>> Currently working my way through AA_H275C-TK (1983 edition). Adapted
>> this example from page 15-9:
>>
>> MODULE quote_test_1 =
>> BEGIN
>> OWN x;
>> LITERAL mark = 4;
>> MACRO m = mark + %UNQUOTE mark %;
>>
>> GLOBAL ROUTINE doit : NOVALUE =
>> BEGIN
>> LITERAL mark = 5;
>> x = m;
>> END;
>>
>> END ELUDOM
>>
>> When I look at the generated assembler
>>
>> doit:
>> ...
>> movq $10, x(%rip)
>> retq
>>
>> That value should be 9, not 10.
>
> What compiler is that from? That isn't even PIC code. And the $10 in
> the output is hex 10.
I think they said up-thread they are tinkering with Matt Madison's blissc:
https://github.com/madisongh/blissc
More information about the Info-vax
mailing list