Skip to content

Commit

Permalink
cris: Multiple minor formatting and grammar fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
flynd committed Oct 18, 2015
1 parent 551bccf commit 58e3a44
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
20 changes: 10 additions & 10 deletions crisv10.tex
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
\defsheet{table-lXlN}{4}{|l X l N|}
\defsheet{table-Xlllll}{6}{|X l l l l l|}

\pagefooter{CRISv10 version 1 page \thepage}
\pagefooter{CRISv10 version 2 page \thepage}

\begin{document}
\begin{multicols}{3}
Expand All @@ -51,11 +51,11 @@
d & Destination. Any addressing mode \\
di & Destination. Any addressing mode except register \\
cc & Condition code \\
m & Size modifier (b, w or d for byte, word or dword) \\
m & Size modifier (b, w, or d for byte, word, or dword) \\
z & Size modifier (b or w for byte or word) \\
value$^{\pm}_{ }$ & Value is sign extended\\
value$^{\emptyset}_{ }$ & Value is zero extended\\
value$^{\{SU\}}_{ }$ & Signed or zero extend according to instruction name \\
value$^{\{SU\}}_{ }$ & Sign or zero extended according to instruction name \\
$\smul$ $\asr$ & Operation is signed \\
{}**** & Flags NZVC are unchanged (--), affected (*) or cleared (0) \\
\end{table-lX}
Expand Down Expand Up @@ -120,8 +120,8 @@
MOVE.m & rs, di & di$^{ }_{m}$ = rs$^{ }_{m}$ & {--}{--}{--}{--} & \\
MOVE & s, pr & pr = s$^{ }_{sizeof(pr)}$ & {--}{--}{--}{--} & I \\
MOVE & pr, d & d$^{ }_{sizeof(pr)}$ = pr & {--}{--}{--}{--} & D,I \\
MOVEM & si, rd & rd = si[0] \ldots R0 = si[4*d] & {--}{--}{--}{--} & \\
MOVEM & rs, di & di[0] = rs \ldots di[4*s] = R0 & {--}{--}{--}{--} & \\
MOVEM & si, rd & rd = si[0] \ldots R0 = si[4$\umul$d] & {--}{--}{--}{--} & \\
MOVEM & rs, di & di[0] = rs \ldots di[4$\umul$s] = R0 & {--}{--}{--}{--} & \\
MOVEQ & i$^{ }_{6}$, rd & rd = i$^{\pm}_{ }$ & **00 & \\
MOV\{SU\}.z & s, rd & rd = s$^{\{SU\}}_{z}$ & **00 & \\
\textit{POP} & rd & rd = [SP$+$] & **00 & \\
Expand Down Expand Up @@ -219,7 +219,7 @@
P & Destination operand cannot be PC \\
V & Only available on some chip versions \\
X & C flag is added/subtracted if X flag is set \\
+(1..3) & Execution time is increased by 1..3 cycles \\
+1,+2,+3 & Execution time is increased by 1, 2, or 3 cycles \\
\end{table-lX}
%
\begin{table-lXlN}{Condition Codes}
Expand Down Expand Up @@ -259,13 +259,13 @@
\begin{table-Xlllll}{Version Specific Features}
DMA integrated in CPU & 4 & & & & \\
EXT condition code & 4 & & & & \\
Jump with context (JBRC/JIRC/JSRC) & & 8 & 10 & 13 & 17 \\
Jump with context (JBRC/JIRC/JSRC instructions) & & 8 & 10 & 13 & 17 \\
SWAP instruction & & 8 & 10 & 13 & 17 \\
Multiplication (MULS/MULU) & & & 10 & & 17 \\
Read/write CPU state (RBF/SBFS) & & & 10 & 13 & 17 \\
Multiplication (MULS/MULU instructions) & & & 10 & & 17 \\
Read/write CPU state (RBF/SBFS instructions) & & & 10 & 13 & 17 \\
Integrity check (P flag, WF condition) & & & 10 & 13 & 17 \\
User mode (U flag) & & & 10 & & \\
JMPU instruction, MOF/BAR/USP registers & & & 10 & 13 & 17 \\
JMPU instruction, (MOF/BAR/USP registers) & & & 10 & 13 & 17 \\
ADDC instruction & & & & 13 & 17 \\
\end{table-Xlllll}
%
Expand Down
6 changes: 3 additions & 3 deletions crisv32.tex
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
\defsheet{table-llX}{3}{|l l X|}
\defsheet{table-llXN}{4}{|l l X N|}

\pagefooter{CRISv32 version 1 page \thepage}
\pagefooter{CRISv32 version 2 page \thepage}

\begin{document}
\begin{multicols}{3}
Expand Down Expand Up @@ -117,8 +117,8 @@
MOVE & pr, d & d$^{ }_{sizeof(pr)}$ = pr & {--}{--}{--}{--} & \\
MOVE & rs, sr & SRS.sr = rs & {--}{--}{--}{--} & M \\
MOVE & sr, rd & rd = SRS.sr & {--}{--}{--}{--} & \\
MOVEM & rs, di & di[0] = R0 \ldots di[4*s] = rs & {--}{--}{--}{--} & \\
MOVEM & sm, rd & R0 = sm[0] \ldots rd = sm[4*d] & {--}{--}{--}{--} & \\
MOVEM & rs, di & di[0] = R0 \ldots di[4$\umul$s] = rs & {--}{--}{--}{--} & \\
MOVEM & sm, rd & R0 = sm[0] \ldots rd = sm[4$\umul$d] & {--}{--}{--}{--} & \\
MOVEQ & i$^{ }_{6}$, rd & rd = i$^{\pm}_{ }$ & {--}{--}{--}{--} & \\
MOV\{SU\}.z & s, rd & rd = s$^{\{SU\}}_{z}$ & **{--}{--} & \\
Scc & rd & rd = (cc ? 1 : 0) & {--}{--}{--}{--} & \\
Expand Down

0 comments on commit 58e3a44

Please sign in to comment.