| CARVIEW |
Select Language
HTTP/2 200
date: Tue, 30 Dec 2025 00:31:24 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
etag: W/"3bc0524c7c10767bb55cad6190ed167c"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com github.githubassets.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com marketplace-screenshots.githubusercontent.com/ copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com github.githubassets.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=%2FbT0JEHJZkVkFmBsp9kpms8APIkgpZG0mQx0BJePZtipdAdm8XjBvV3ZjEwd3Ayuz6c9cMUKnYD05QEDYFfSLiU2lM5cS3H2dcF4%2FjktRSpAYsb9l208rl9xSVJIHebygxtiG3o%2BL%2FdK%2BCopQutf4k6W9PxTOLd6iBtxOlR1vBuZXKj%2FpNPikbkOl60OQ8ikZ58K%2Bey2weNrnN5bBqQNamvDJInr5itWuM3c3dMc3LXz0VolN1iuiuT2m7QzRsdseZJmUW8z%2BjvbNuf%2FslBpBw%3D%3D--8hQNYuZ3O76L8%2FTR--2quUgWpbE8ai6Jwm%2BIv%2BNw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.71674224.1767054683; Path=/; Domain=github.com; Expires=Wed, 30 Dec 2026 00:31:23 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Wed, 30 Dec 2026 00:31:23 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: D042:2D8E00:68F37E5:7DC0612:69531D5B
GitHub - clausecker/8bc: B compiler for the PDP-8
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5
B compiler for the PDP-8
License
clausecker/8bc
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
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
You can’t perform that action at this time.