create stylesheet and link to it

Created a simple stylesheet, linked to it, and removed body color
attributes defined there. This reduces repetition and separates
style and presentation.
This commit is contained in:
Anthony Bentley
2009-09-12 17:49:54 -06:00
parent 171061f3a3
commit 7d0dd140c3
39 changed files with 92 additions and 38 deletions

View File

@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm DB, DW</TITLE>
<link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
<BODY>
<I><H2>DB<BR>
DW
</H2></I>

View File

@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm DS</TITLE>
<link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
<BODY>
<I><H2>DS
</H2></I>
<HR>

View File

@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm EQU</TITLE>
<link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
<BODY>
<I><H2>EQU</H2></I><HR>
<P>EQUates are constant symbols. They can for example be used for things such as bit-definitions of hardware-registers.<BR>

View File

@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm EQUS</TITLE>
<link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
<BODY>
<I><H2>EQUS</H2></I><HR>
<P>EQUS is used to define string-symbols. Wherever the assembler meets a string symbol its name is replaced with its value. If you are familiar with C you can think of it as the same as #define.<BR>

View File

@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm EXPORT/XREF, IMPORT/XDEF, GLOBAL</TITLE>
<link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
<BODY>
<I><H2>EXPORT/XREF<BR>
IMPORT/XDEF<BR>
GLOBAL</H2></I><HR>

View File

@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm Fixed-point expression</TITLE>
<link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
<BODY>
<I><H2>Fixed-point expressions
</H2></I>
<HR>

View File

@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm Integer/Boolean expressions</TITLE>
<link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
<BODY>
<I><H2>Integer and Boolean expressions
</H2></I>
<HR>

View File

@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm String expressions</TITLE>
<link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
<BODY>
<I><H2>String expressions
</H2></I>
<HR>

View File

@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm FAIL, WARN</TITLE>
<link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
<BODY>
<I><H2>FAIL<BR>
WARN
</H2></I>

View File

@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm History</TITLE>
<link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
<BODY>
<I><H2>xAsm History</H2></I><HR>
<TABLE BORDER=1>

View File

@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm IF, ELSE, ENDC</TITLE>
<link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
<BODY>
<I><H2>IF<BR>
ELSE<BR>
ENDC

View File

@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm INCBIN</TITLE>
<link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
<BODY>
<I><H2>INCBIN
</H2></I>
<HR>

View File

@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm INCLUDE</TITLE>
<link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
<BODY>
<I><H2>INCLUDE
</H2></I>
<HR>

View File

@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm Labels</TITLE>
<link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
<BODY>
<I><H2>Labels</H2></I><HR>
<P>One of the assemblers main tasks is to keep track of addresses for you so you don't have to remember obscure numbers but can make do with a meaningful name, a label.<BR>
<P>This can be done in a number of ways:<BR>

View File

@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm MACRO/ENDM</TITLE>
<link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
<BODY>
<I><H2>MACRO<BR>
ENDM</H2></I><HR>

View File

@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm Other functions</TITLE>
<link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
<BODY>
<I><H2>Other functions
</H2></I>
<HR>

View File

@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm OPT</TITLE>
<link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
<BODY>
<I><H2>OPT
</H2></I>
<HR>

View File

@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm POPO, PUSHO</TITLE>
<link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
<BODY>
<I><H2>POPO<BR>
PUSHO
</H2></I>

View File

@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm POPS, PUSHS</TITLE>
<link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
<BODY>
<I><H2>POPS<BR>
PUSHS
</H2></I>

View File

@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm Predeclared symbols</TITLE>
<link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
<BODY>
<I><H2>Predeclared symbols
</H2></I>
<HR>

View File

@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm PRINTT, PRINTV, PRINTF</TITLE>
<link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
<BODY>
<I><H2>PRINTT<BR>
PRINTV<BR>
PRINTF<BR>

View File

@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm PURGE</TITLE>
<link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
<BODY>
<I><H2>PURGE</H2></I><HR>
<P>The PURGE command allows you to completely remove a symbol from the symbol table as if it had never existed. USE WITH EXTREME CAUTION!!! I can't stress this enough but you <B>seriously</B> need to know what you are doing. DON'T purge symbol that you use in expressions the linker needs to calculate. In fact, it's probably not even safe to purge anything other than string symbols and macros.<BR>

View File

@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm REPT, ENDR</TITLE>
<link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
<BODY>
<I><H2>REPT<BR>
ENDR
</H2></I>

View File

@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm RSSET, RSRESET, RB, RW</TITLE>
<link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
<BODY>
<I><H2>RSSET<BR>
RERESET<BR>
RB<BR>

View File

@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm SECTION</TITLE>
<link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
<BODY>
<I><H2>SECTION</H2></I>
<HR>

View File

@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm SET</TITLE>
<link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
<BODY>
<I><H2>SET</H2></I><HR>
<P>SETs are like <A HREF="equ.htm">EQUates</A> also constant symbols in the sense that their values are defined during the assembly process. These symbols are normally used in macros.<BR>

View File

@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm SHIFT</TITLE>
<link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
<BODY>
<I><H2>SHIFT</H2></I><HR>
<P><B>SHIFT</B> is a special command only available in <A HREF="macro.htm">macros</A>. Very useful in <A HREF="rept.htm">REPT-blocks</A>. It will "shift" the arguments by one "to the left". <B>\1</B> will get <B>\2</B>'s value, <B>\2</B> will get <B>\3</B>'s value and so forth.<BR>

View File

@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm Symbols</TITLE>
<link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
<BODY>
<I><H2>xAsm Symbols</H2></I><HR>
xAsm supports several types of symbols:<BR>

View File

@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm Syntax</TITLE>
<link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
<BODY>
<I><H2>xAsm Syntax</H2></I><HR>
The syntax line-based, just as in any other assembler. Meaning that you do one instruction or pseudo-op per line:<BR>

View File

@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm Gameboy</TITLE>
<link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
<BODY>
<I><H2>Gameboy
</H2></I>
<HR>

View File

@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm Usage</TITLE>
<link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
<BODY>
<I><H2>xAsm Usage</H2></I><HR>
<TABLE BORDER=0 BGCOLOR="Black" CELLPADDING=8 WIDTH="50%">