IJVM

IJVM

IJVM is an assembly language created by Andrew Tanenbaum for his MIC-1 architecture. It is used to teach assembly basics in his book "Structured Computer Organization".

IJVM is mostly a subset of the JVM assembly language that is used in the Java platform. It is simplified at a point that writing complex programs can become very hard (for example, no shift instructions are provided).

IJVM Instructions

Operand descriptions
* byte: A numeric literal, in octal (032 - leading zero), decimal (26 - no leading digits), or hexadecimal (0x1A - leading zero-x) format. Character literals ('M - leading single quote) are also allowed. Compiled to a 1-byte constant.
* label name: The string name of a label. Compiled to a 2-byte offset
* variable name: The string name of a local variable. Compiled to a 1-byte value, indicating an offset into the local variable frame.
* method name: The string name of a method. When compiled, the address of the method is calculated and put into the constant pool. This operand is then replaced with the 2-byte index (in the constant pool) of the address.
* constant name: The string name of a constant. Compiled to a 2-byte index.
* N/A: This instruction takes no operands.


Wikimedia Foundation. 2010.

Игры ⚽ Нужен реферат?

Look at other dictionaries:

  • Cheryl Arutt — Born Cheryl Arutt May 13, 1966 (1966 05 13) (age 45) Occupation Former Child Actress/Clinical and Forensic Psychologist (Psy.D.) Years active Actress 1969–1991 Psychologist 1999 present …   Wikipedia

  • MIC-1 — The MIC 1 is a processor architecture invented by Andrew S. Tanenbaum to use as a simple but complete example in his teaching book Structured Computer Organization .It consists of a very simple control unit that runs microcode from a 512 words… …   Wikipedia

  • Darren Kavinoky — Born November 2, 1966 (1966 11 02) (age 45) Residence Encino, California …   Wikipedia

  • Corey Haim — in 2008 Born Corey Ian Haim December 23, 1971(1971 12 23) Toronto, Ontario, Canada …   Wikipedia

  • Murder of Jan Pawel and Quiana Jenkins Pietrzak — The Murder of Jan Pawel Pietrzak and Quiana Jenkins Pietrzak relates to the events surrounding the 2008 deaths of United States Marine Corps Sergeant Jan Pawel Pietrzak (March 13, 1984 – October 15, 2008) and his 26 year old wife Quiana Jenkins… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”