Java Bytecode Tutorial

From Grey Hat Wiki | Grey H@t
(Redirected from Java Assembly Tutorial)
Jump to: navigation, search

Introduction

The Java Virtual Machine (JVM) is a popular virtual architecture designed to run crossplatform applications. It was originally designed to support the Java programming language and its design closely reflects that. However, you can also write classes directly in bytecode, and this tutorial will show you how, using the Krakatau Assembler. Note that for simplicity, we will use the term bytecode to refer to the entire JVM classfile format, even though technically, only the code inside the methods should really be called bytecode.

Contents


Getting Started

Part 0 - Getting Started

Hello World

Part 1 - Hello World!

Looping

Part 2 - Looping

Input

Part 3 - Input

Exceptions

Part 4 - Exceptions

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox