Deutsch   English   Français   Italiano  
<v81cpf$324sq$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: =?UTF-8?Q?Arne_Vajh=C3=B8j?= <arne@vajhoej.dk>
Newsgroups: comp.os.vms
Subject: Re: Bliss
Date: Fri, 26 Jul 2024 19:51:12 -0400
Organization: A noiseless patient Spider
Lines: 38
Message-ID: <v81cpf$324sq$1@dont-email.me>
References: <v6r3od$30fgj$2@dont-email.me> <v6r7ev$312bs$1@dont-email.me>
 <v6raga$31ano$2@dont-email.me> <v6rfb3$31ano$6@dont-email.me>
 <v6sj58$38thk$1@dont-email.me> <v7v0ia$2lbee$1@dont-email.me>
 <5b682acba9787d1d646e628c919341a130d97c20@i2pn2.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 27 Jul 2024 01:51:12 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="823c7dcc522744acdf51db8a46bcabd2";
	logging-data="3216282"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18yobLDA+qB8CIZ7+qj7G/UQd54xSTnnaU="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:Ztfqp5E4nCoS7Cub/0BvjVMV27I=
In-Reply-To: <5b682acba9787d1d646e628c919341a130d97c20@i2pn2.org>
Content-Language: en-US
Bytes: 2230

On 7/26/2024 3: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.

Matt Madisons open source Bliss compiler running on
Linux.

So not one of your compilers. :-)

Arne