asm

package
v0.0.0-...-0b3ecdf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 7, 2013 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package asm implements the internals of the drones VM assembler.

  • Copyright 2013, Robert Bieber *
  • This file is part of drones. *
  • drones is free software: you can redistribute it and/or modify it
  • under the terms of the GNU General Public License as published by
  • the Free Software Foundation, either version 3 of the License, or
  • (at your option) any later version. *
  • drones is distributed in the hope that it will be useful,
  • WITHOUT ANY WARRANTY; without even the implied warranty of
  • MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  • GNU General Public License for more details. *
  • You should have received a copy of the GNU General Public License
  • along with drones. If not, see <http://www.gnu.org/licenses/>.

Index

Constants

View Source
const IDENT = 57349
View Source
const ILLEGAL = 57352
View Source
const LABEL = 57348
View Source
const NEWLINE = 57346
View Source
const NUM = 57347
View Source
const ORG = 57350
View Source
const WORDS = 57351

Variables

This section is empty.

Functions

func Assemble

func Assemble(in *bufio.Reader) ([]uint16, error)

Assemble parses an assembly language program from in and returns the assembled binary, or an error if something goes wrong.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL