Hello,
if you import the pseudo module SYSTEM then you can create so called "code"
procedures. A code procedure is not assembler but direct machine code,
written in hex. Recently a code procedure for calculating the square root of
a REAL was posted to the mailing list. Here is a small module using this
code procedure.
MODULE TestSqrt;
IMPORT SYSTEM, StdLog;
PROCEDURE [code] Sqrt (x: REAL): REAL
0D9H, 0FAH; (* FSQRT *)
PROCEDURE Do*;
BEGIN
StdLog.Real(Sqrt(9));
END Do;
END TestSqrt.
Does this help you?
Bengt
> -----Original Message-----
> From: Gerold Boehler [mailto:gboe{([at]})nowhere.xy> Sent: Donnerstag, 3. Mai 2001 18:52
> To: blackbox{([at]})nowhere.xy> Subject: Assembler
>
>
> Hi
>
> Is it possible to insert assembler code a .odc file?
>
> Gerold
>
> --------------------------------------------
>
> To unsubscribe from this mailing list, send a message containing
> the word "unsubscribe" to:
> blackbox-request{([at]})nowhere.xy>
> To get a list of valid e-mail commands and instructions on their
> usage, send a message containing the word "help" to the above address.
>
> Send any problem reports or questions related to this email list
> to the list owner at
> owner-blackbox{([at]})nowhere.xy--------------------------------------------
To unsubscribe from this mailing list, send a message containing the word "unsubscribe" to:
blackbox-request{([at]})nowhere.xy
To get a list of valid e-mail commands and instructions on their usage, send a message containing the word "help" to the above address.
Send any problem reports or questions related to this email list to the list owner at
owner-blackbox{([at]})nowhere.xy
Received on Fri May 04 2001 - 08:30:12 UTC