HaskellWiki

Haskell | Wiki community | Recent changes
Random page | Special pages

 

Not logged in
Log in | Help

Yhc/RTS/Bytecodes

< Yhc | RTS

Part of Yhc

(Download)

The Yhc runtime is a stack-based spineless G-Machine (See Yhc/RTS/Machine). This page details the instruction set that the machine uses.

A more up to date page is at http://www-users.cs.york.ac.uk/~ndm/yhc/bytecodes.html, which is automatially generated from the bytecode.xml file.

Instructions have 'variants', which are different specializations of the instruction: For example if the general instruction is PUSH n then

Some instructions don't have three byte versions. Here 'PUSH n' refers to the two byte version, or the general 'PUSH n' instruction, depending on context.

The compiler will choose the smallest available bytecodes to encode any particular instruction.

Retrieved from "http://www.haskell.org/haskellwiki/Yhc/RTS/Bytecodes"

This page has been accessed 2,340 times. This page was last modified 15:31, 3 February 2006. Recent content is available under a simple permissive license.