clausecker/8bc
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
master
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
-
Clone
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more about the CLI.
- Open with GitHub Desktop
- Download ZIP
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
8bc -- B compiler for the PDP-8 8bc is a B compiler for the PDP-8. It compiles standard B for the PDP-8/E or later computers with or without an EAE. Programs are compiled to BIN formatted tapes with an entry point at 0200. To run programs compiled with 8bc, use the PDP-8 emulator supplied by the SIMH project. For example, to compile and run hello.b from the examples, first compile hello.b into hello.bin: $ 8bc hello.b Then run SIMH: load hello.bin and jump to address 0200 to start the program. $ pdp8 PDP-8 simulator V4.0-0 Current git commit id: 6554e0a4 sim> l hello.bin sim> g 200 HELLO, WORLD HALT instruction, PC: 00321 (JMP 200) sim> exit Goodbye To build 8bc, first edit Makefile according to your system's needs. Typically, nothing needs to be adjusted. You need the following prerequisites: * an ANSI C compiler * lex (e.g. flex) with libl.a * yacc (e.g. bison) with liby.a * groff Then type make all to compile 8bc and make install to install the distribution. You may need to manually update the manual database afterwards. If you are a maintainer, read Makefile carefully for instructions. Please mark SIMH as an optional dependency/recommended package if your distribution ships it. If you perform nontrivial modifications to the codebase, please have the courtesy to change the version string in 8bc such that it is clearly visible that the code has been modified and by whom. Please report bugs on github or by mail to fuz@fuz.su. Please do not send patches without prior communication. While I'm willing to fix any bug you find, I prefer to write the patches myself. (c) 2019 Robert Clausecker <fuz@fuz.su>
About
B compiler for the PDP-8
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published