diff --git a/.gitignore b/.gitignore index 0eea16b..422a781 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ +*.b* /progs/ diff --git a/README.md b/README.md index a3f589f..a6201bc 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,24 @@ The calling syntax is as follows: ```bfasm ``` \ **Important:** Do not provide a file extension, because the assembler assumes source files having ".bfa" and byte code file having ".bfc". \ +\ +The Brainfuck Assembler knows the following pseudo-commands: + +- "**;**": comment line +- "**.mode <*mode*>**": config one of the display modes: + - "**ascii**" / "**byte**": input and output characters + - "**digit**" / "**number**": input and output numbers + - "**console**" / "**text**": input and output text + - "**graphic**(**s**)" / "**video**": input and output pixels +- "**.ascii**": shortcut for "**.mode ascii**" +- "**.byte**": shortcut for "**.mode byte**" +- "**.console**": shortcut for "**.mode console**" +- "**.digit**": shortcut for "**.mode digit**" +- "**.graphic**": shortcut for "**.mode graphic**" +- "**.graphics**": shortcut for "**.mode graphics**" +- "**.text**": shortcut for "**.mode text**" +- "**.video**": shortcut for "**.mode video**" + \ The Brainfuck Assembler knows the following commands: