comp.lang.ada
 help / color / mirror / Atom feed
From: AdaMagica <christoph.grein@eurocopter.com>
Subject: Re: Code Statement
Date: Tue, 18 May 2010 06:29:10 -0700 (PDT)
Date: 2010-05-18T06:29:10-07:00	[thread overview]
Message-ID: <fd874f56-c730-415d-a18b-dd97fc2c584d@q13g2000vbm.googlegroups.com> (raw)
In-Reply-To: hsu3ok$gag$1@speranza.aioe.org

>    package Machine_Code is
>
>        type Asm_Insn is new Integer;  --  type required by gant
>
>        x86_NOP    : constant Asm_Insn := 16#90#;
>
>        type M_Code_0  is record
>                          Opcode : Asm_Insn;
>        end record;
>        pragma Pack (M_Code_0);
>    end Machine_Code;

This is a package that you have written yourself. You must use the
package System.Machine_Code. See RM 13.8.



  parent reply	other threads:[~2010-05-18 13:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-18 13:12 Code Statement johnjohn
2010-05-18 13:22 ` Ludovic Brenta
2010-05-18 13:29 ` AdaMagica [this message]
2010-05-18 15:05 ` sjw
2010-05-19  4:37   ` anon
2010-05-19  6:07     ` Simon Wright
2010-05-19  9:56       ` sjw
2010-05-19 10:20         ` AdaMagica
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox