\documentclass[11pt,a4paper]{scrartcl}
\usepackage[a4paper,top=2cm,bottom=2cm,left=1.5cm,right=1.5cm]{geometry}
\usepackage{polyglossia}
\usepackage{tabularx}
\usepackage{array}
\usepackage{makecell}
\setmainfont{Futura LT}
\newfontfamily\sans{DejaVu Sans}
\newcommand\com{\char`\~}
\newcommand\And{{\sans ∧ }}
\newcommand\Or{{\sans ∨ }}
\newcommand\Xor{{\sans ⊻ }}
\newcommand\Arr{{\sans → }}
\newcommand\DArr{{\sans ↔ }}
\newcommand\Ne{{\sans ≠ }}
\newcommand\Eq{{\sans = }}
\newcommand\Lt{{\sans < }}
\newcommand\Le{{\sans ≤ }}
\newcommand\Gt{{\sans > }}
\newcommand\Ge{{\sans ≥ }}
\newcommand\Mult{{\sans × }}
\newcommand\LT{\textsubscript{L}}
\newcommand\RT{\textsubscript{R}}
\newcommand\Sw{\textsubscript{S}}
\newcommand\Sgn{\textsubscript{0}}
\newcommand\RSgn{\textsubscript{18}}
\newcommand\If{\textit{If} }
\newcommand\Skip{\textit{skip} }
\newcommand\Sc[1]{{\footnotesize #1}}
\newcommand\Flags{{\footnotesize FLAGS}}
\newcommand\Remainder{{\footnotesize REMAINDER}}
\newcommand\Rest[1]{\multicolumn{4}{l}{#1}}
\newcommand\Span[1]{\multicolumn{6}{c}{#1}}
%\newcommand\LL[2]{\vtop{\hbox{\strut #1}\hbox{\strut #2}}}
\newcommand\ZeroAC{\If AC \Ne 0: (E) \Arr (AC)}
\pagenumbering{gobble}

\newlength{\bitlen}
\setlength{\bitlen}{0.025\textwidth}
\setlength{\parindent}{0in}

\begin{document}

{\Huge PDP-6 instruction set}
\vspace{1in}

\begin{tabularx}{\textwidth}{l l X l l l}
\Span{Floating Point}\\
 FSC & 132 & (AC) \Mult 2\textsuperscript{E} \Arr (AC) &&& \\
\\
\Span{Byte Manipulation}\\
 IBP & 133 & \If P -- S \Gt 0: P -- S \Arr P &&& \\
     &     & \If P -- S \Lt 0: Y + 1 \Arr Y; 36 -- S \Arr P &&& \\
 ILDB & 134 &  IBP, LDB &
 LDB & 135 & \Sc{BYTE IN} ((E)) \Arr (AC) \\
 IDPB & 136 &  IBP, DPB &
 DPB & 137 & \Sc{BYTE IN} (AC) \Arr \Sc{BYTE IN} ((E)) \\
\\
\Span{Floating Point Arithmetic}\\
 FAD   & 140 & (AC) + (E) \Arr (AC) &
 FADR  & 144 & (AC) + (E) \Arr (AC) \\
 FADL  & 141 & (AC) + (E) \Arr (AC,AC+1) &
 FADRL & 145 & (AC) + (E) \Arr (AC,AC+1) \\
 FADM  & 142 & (AC) + (E) \Arr (E) &
 FADRM & 146 & (AC) + (E) \Arr (E) \\
 FADB  & 143 & (AC) + (E) \Arr (AC)(E) &
 FADRB & 147 & (AC) + (E) \Arr (AC)(E) \\
\\
 FSB   & 150 & (AC) -- (E) \Arr (AC) &
 FSBR  & 154 & (AC) -- (E) \Arr (AC) \\
 FSBL  & 151 & (AC) -- (E) \Arr (AC,AC+1) &
 FSBRL & 155 & (AC) -- (E) \Arr (AC,AC+1) \\
 FSBM  & 152 & (AC) -- (E) \Arr (E) &
 FSBRM & 156 & (AC) -- (E) \Arr (E) \\
 FSBB  & 153 & (AC) -- (E) \Arr (AC)(E) &
 FSBRB & 157 & (AC) -- (E) \Arr (AC)(E) \\
\\
 FMP   & 160 & (AC) \Mult (E) \Arr (AC) &
 FMPR  & 164 & (AC) \Mult (E) \Arr (AC) \\
 FMPL  & 161 & (AC) \Mult (E) \Arr (AC,AC+1) &
 FMPRL & 165 & (AC) \Mult (E) \Arr (AC,AC+1) \\
 FMPM  & 162 & (AC) \Mult (E) \Arr (E) &
 FMPRM & 166 & (AC) \Mult (E) \Arr (E) \\
 FMPB  & 163 & (AC) \Mult (E) \Arr (AC)(E) &
 FMPRB & 167 & (AC) \Mult (E) \Arr (AC)(E) \\
\\
 FDV   & 170 & (AC) / (E) \Arr (AC) &
 FDVR  & 174 & (AC) / (E) \Arr (AC) \\
 FDVL  & 171 & (AC) / (E) \Arr (AC) &
 FDVRL & 175 & (AC) / (E) \Arr (AC) \\
       &     & \Remainder \Arr (AC+1) &
       &     & \Remainder \Arr (AC+1) \\
 FDVM  & 172 & (AC) / (E) \Arr (E) &
 FDVRM & 176 & (AC) / (E) \Arr (E) \\
 FDVB  & 173 & (AC) / (E) \Arr (AC)(E) &
 FDVRB & 177 & (AC) / (E) \Arr (AC)(E) \\
\\
\Span{Full Word Data Transmission} \\
 MOVE & 200 & (E) \Arr (AC) &
 MOVS & 204 & (E)\Sw\ \Arr (AC) \\
 MOVEI & 201 & 0,E \Arr (AC) &
 MOVSI & 205 & E,0 \Arr (AC) \\
 MOVEM & 202 & (AC) \Arr (E) &
 MOVSM & 206 & (AC)\Sw\ \Arr (E) \\
 MOVES & 203 & \ZeroAC &
 MOVSS & 207 & (E)\Sw\ \Arr (E) \\
       &     & &
       &     & \ZeroAC \\
\\
 MOVN & 210 & -- (E) \Arr (AC) &
 MOVM & 214 & |(E)| \Arr (AC) \\
 MOVNI & 211 & -- [0,E] \Arr (AC) &
 MOVMI & 215 & 0,E \Arr (AC) \\
 MOVNM & 212 & -- (AC) \Arr (E) &
 MOVMM & 216 & |(AC)| \Arr (E) \\
 MOVNS & 213 & -- (E) \Arr (E) &
 MOVMS & 217 & |(E)| \Arr (E) \\
       &     & \ZeroAC &
       &     & \ZeroAC \\
\\
\end{tabularx}
\newpage

\begin{tabularx}{\textwidth}{l l X l l l}
\Span{Fixed Point Multiply-Divide} \\
 IMUL & 220 & (AC) \Mult (E) \Arr (AC) &
 MUL & 224 & (AC) \Mult (E) \Arr (AC,AC+1) \\
 IMULI & 221 & (AC) \Mult 0,E \Arr (AC) &
 MULI & 225 & (AC) \Mult 0,E \Arr (AC,AC+1) \\
 IMULM & 222 & (AC) \Mult (E) \Arr (E) &
 MULM & 226 & (AC) \Mult (E) \Arr (E) \\
 IMULB & 223 & (AC) \Mult (E) \Arr (AC)(E) &
 MULB & 227 & (AC) \Mult (E) \Arr (AC,AC+1)(E) \\
\\
 IDIV & 230 & (AC) / (E) \Arr (AC) &
 DIV & 234 & (AC,AC+1) / (E) \Arr (AC) \\
     &     & \Remainder \Arr (AC+1) &
     &     & \Remainder \Arr (AC+1) \\
 IDIVI & 231 & (AC) / 0,E \Arr (AC) &
 DIVI & 235 & (AC,AC+1) / 0,E \Arr (AC) \\
     &     & \Remainder \Arr (AC+1) &
     &     & \Remainder \Arr (AC+1) \\
 IDIVM & 232 & (AC) / (E) \Arr (E) &
 DIVM & 236 & (AC,AC+1) / (E) \Arr (E) \\
 IDIVB & 233 & (AC) / (E) \Arr (AC)(E) &
 DIVB & 237 & (AC,AC+1) / (E) \Arr (AC)(E) \\
     &     & \Remainder \Arr (AC+1) &
     &     & \Remainder \Arr (AC+1) \\
\\

\Span{Shift and Rotate} \\
 ASH & 240 & (AC) \Mult 2\textsuperscript{E} \Arr (AC) &
 ASHC & 244 & (AC,AC+1) \Mult 2\textsuperscript{E} \Arr (AC,AC+1) \\
 ROT & 241 & Rotate (AC) E places &
 ROTC & 245 & Rotate (AC,AC+1) E places \\
 LSH & 242 & Shift (AC) E places &
 LSHC & 246 & Shift (AC,AC+1) E places \\
\\

\Span{Miscellaneous}\\
 EXCH & 250 & \Rest{(AC) \DArr (E)} \\
 BLT  & 251 & \Rest{Move E -- (AC)\RT +1 words starting with ((AC)\LT) \Arr ((AC)\RT)} \\
 AOBJP & 252 & \Rest{(AC) + 1000001 \Arr (AC); \If (AC) \Ge 0: E \Arr (PC)} \\
 AOBJN & 253 & \Rest{(AC) + 1000001 \Arr (AC); \If (AC) \Lt 0: E \Arr (PC)} \\
 JRST & 254 & \Rest{E \Arr (PC) [\If AC \Ne 0, reset processor state according to AC]} \\
 JFCL & 255 & \Rest{\If AC \And \Flags\ \Ne 0: E \Arr (PC); \com AC \And \Flags\ \Arr \Flags} \\
 XCT & 256 & \Rest{Execute (E)} \\
\\

\Span{Pushdown List and Jumps}\\
 PUSHJ & 260 & \Rest{(AC) + 1000001 \Arr (AC); \Flags,(PC) \Arr ((AC)\RT); E \Arr (PC)} \\
 PUSH & 261 & \Rest{(AC) + 1000001 \Arr (AC); (E) \Arr ((AC)\RT)} \\
 POP & 262 & \Rest{((AC)\RT) \Arr (E); (AC) -- 1000001 \Arr (AC)} \\
 POPJ & 263 & \Rest{((AC)\RT)\RT \Arr (PC); (AC) -- 1000001 \Arr (AC)} \\
 JSR & 264 & \Rest{\Flags,(PC) \Arr (E); E + 1 \Arr (PC)} \\
 JSP & 265 & \Rest{\Flags,(PC) \Arr (AC); E \Arr (PC)} \\
 JSA & 266 & \Rest{(AC) \Arr (E); E,(PC) \Arr (AC); E + 1 \Arr (PC)} \\
 JRA & 267 & \Rest{E \Arr (PC); ((AC)\LT) \Arr (AC)} \\
\\

\Span{Fixed Point Add-Subtract} \\
 ADD & 270 & (AC) + (E) \Arr (AC) &
 SUB & 274 & (AC) -- (E) \Arr (AC) \\
 ADDI & 271 & (AC) + 0,E \Arr (AC) &
 SUBI & 275 & (AC) -- 0,E \Arr (AC) \\
 ADDM & 272 & (AC) + (E) \Arr (E) &
 SUBM & 276 & (AC) -- (E) \Arr (E) \\
 ADDB & 273 & (AC) + (E) \Arr (AC)(E) &
 SUBB & 277 & (AC) -- (E) \Arr (AC)(E) \\
\\
\end{tabularx}

\begin{tabularx}{\textwidth}{l l X l l l}
\Span{Arithmetic Testing}\\
 CAI & 300 & No-op &
 CAM & 310 & No-op \\
 CAIL & 301 & \If (AC) \Lt E: \Skip &
 CAML & 311 & \If (AC) \Lt (E): \Skip \\
 CAIE & 302 & \If (AC) \Eq E: \Skip &
 CAME & 312 & \If (AC) \Eq (E): \Skip \\
 CAILE & 303 & \If (AC) \Le E: \Skip &
 CAMLE & 313 & \If (AC) \Le (E): \Skip \\
 CAIA & 304 & \Skip &
 CAMA & 314 & \Skip \\
 CAIGE & 305 & \If (AC) \Ge E: \Skip &
 CAMGE & 315 & \If (AC) \Ge (E): \Skip \\
 CAIN & 306 & \If (AC) \Ne E: \Skip &
 CAMN & 316 & \If (AC) \Ne (E): \Skip \\
 CAIG & 307 & \If (AC) \Gt E: \Skip &
 CAMG & 317 & \If (AC) \Gt (E): \Skip \\
\\
 JUMP & 320 & No-op &
 SKIP & 330 & \If AC \Ne 0: (E) \Arr (AC) \\
 JUMPL & 321 & \If (AC) \Lt 0: E \Arr (PC) &
 SKIPL & 331 & \If AC \Ne 0: (E) \Arr (AC) \\
  & & & & & \If (E) \Lt 0: \Skip \\
 JUMPE & 322 & \If (AC) \Eq 0: E \Arr (PC) &
 SKIPE & 332 & \If AC \Ne 0: (E) \Arr (AC) \\
  & & & & & \If (E) \Eq 0: \Skip \\
 JUMPLE & 323 & \If (AC) \Le 0: E \Arr (PC) &
 SKIPLE & 333 & \If AC \Ne 0: (E) \Arr (AC) \\
  & & & & & \If (E) \Le 0: \Skip \\
 JUMPA & 324 & E \Arr (PC) &
 SKIPA & 334 & \If AC \Ne 0: (E) \Arr (AC) \\
  & & & & & \Skip \\
 JUMPGE & 325 & \If (AC) \Ge 0: E \Arr (PC) &
 SKIPGE & 335 & \If AC \Ne 0: (E) \Arr (AC) \\
  & & & & & \If (E) \Ge 0: \Skip \\
 JUMPN & 326 & \If (AC) \Ne 0: E \Arr (PC) &
 SKIPN & 336 & \If AC \Ne 0: (E) \Arr (AC) \\
  & & & & & \If (E) \Ne 0: \Skip \\
 JUMPG & 327 & \If (AC) \Gt 0: E \Arr (PC) &
 SKIPG & 337 & \If AC \Gt 0: (E) \Arr (AC) \\
  & & & & & \If (E) \Gt 0: \Skip \\
\\
 AOJ & 340 & (AC) + 1 \Arr (AC) &
 SOJ & 360 & (AC) - 1 \Arr (AC) \\
 AOJL & 341 & (AC) + 1 \Arr (AC) &
 SOJL & 361 & (AC) - 1 \Arr (AC) \\
      &     & \If (AC) \Lt 0: E \Arr (PC) &
      &     & \If (AC) \Lt 0: E \Arr (PC) \\
 AOJE & 342 & (AC) + 1 \Arr (AC) &
 SOJE & 362 & (AC) - 1 \Arr (AC) \\
      &     & \If (AC) \Eq 0: E \Arr (PC) &
      &     & \If (AC) \Eq 0: E \Arr (PC) \\
 AOJLE & 343 & (AC) + 1 \Arr (AC) &
 SOJLE & 363 & (AC) - 1 \Arr (AC) \\
       &     & \If (AC) \Le 0: E \Arr (PC) &
       &     & \If (AC) \Le 0: E \Arr (PC) \\
 AOJA & 344 & (AC) + 1 \Arr (AC) &
 SOJA & 364 & (AC) - 1 \Arr (AC) \\
      &     & E \Arr (PC) &
      &     & E \Arr (PC) \\
 AOJGE & 345 & (AC) + 1 \Arr (AC) &
 SOJGE & 365 & (AC) - 1 \Arr (AC) \\
       &     & \If (AC) \Ge 0: E \Arr (PC) &
       &     & \If (AC) \Ge 0: E \Arr (PC) \\
 AOJN & 346 & (AC) + 1 \Arr (AC) &
 SOJN & 366 & (AC) - 1 \Arr (AC) \\
      &     & \If (AC) \Ne 0: E \Arr (PC) &
      &     & \If (AC) \Ne 0: E \Arr (PC) \\
 AOJG & 347 & (AC) + 1 \Arr (AC) &
 SOJG & 367 & (AC) - 1 \Arr (AC) \\
      &     & \If (AC) \Ge 0: E \Arr (PC) &
      &     & \If (AC) \Ge 0: E \Arr (PC) \\
\end{tabularx}
\newpage

\begin{tabularx}{\textwidth}{l l X l l l}
 AOS & 350 & (E) + 1 \Arr (E) &
 SOS & 370 & (E) - 1 \Arr (E) \\
     &     & \If AC \Ne 0: (E) \Arr (AC) &
     &     & \If AC \Ne 0: (E) \Arr (AC) \\
 AOSL & 351 & (E) + 1 \Arr (E) &
 SOSL & 371 & (E) - 1 \Arr (E) \\
      &     & \If AC \Ne 0: (E) \Arr (AC) &
      &     & \If AC \Ne 0: (E) \Arr (AC) \\
      &     & \If (E) \Lt 0: \Skip &
      &     & \If (E) \Lt 0: \Skip \\
 AOSE & 352 & (E) + 1 \Arr (E) &
 SOSE & 372 & (E) - 1 \Arr (E) \\
      &     & \If AC \Ne 0: (E) \Arr (AC) &
      &     & \If AC \Ne 0: (E) \Arr (AC) \\
      &     & \If (E) \Eq 0: \Skip &
      &     & \If (E) \Eq 0: \Skip \\
 AOSLE & 353 & (E) + 1 \Arr (E) &
 SOSLE & 373 & (E) - 1 \Arr (E) \\
       &     & \If AC \Ne 0: (E) \Arr (AC) &
       &     & \If AC \Ne 0: (E) \Arr (AC) \\
       &     & \If (E) \Le 0: \Skip &
       &     & \If (E) \Le 0: \Skip \\
 AOSA & 354 & (E) + 1 \Arr (E) &
 SOSA & 374 & (E) - 1 \Arr (E) \\
      &     & \If AC \Ne 0: (E) \Arr (AC) &
      &     & \If AC \Ne 0: (E) \Arr (AC) \\
      &     & \Skip &
      &     & \Skip \\
 AOSGE & 355 & (E) + 1 \Arr (E) &
 SOSGE & 375 & (E) - 1 \Arr (E) \\
       &     & \If AC \Ne 0: (E) \Arr (AC) &
       &     & \If AC \Ne 0: (E) \Arr (AC) \\
       &     & \If (E) \Ge 0: \Skip &
       &     & \If (E) \Ge 0: \Skip \\
 AOSN & 356 & (E) + 1 \Arr (E) &
 SOSN & 376 & (E) - 1 \Arr (E) \\
      &     & \If AC \Ne 0: (E) \Arr (AC) &
      &     & \If AC \Ne 0: (E) \Arr (AC) \\
      &     & \If (E) \Ne 0: \Skip &
      &     & \If (E) \Ne 0: \Skip \\
 AOSG & 357 & (E) + 1 \Arr (E) &
 SOSG & 377 & (E) - 1 \Arr (E) \\
      &     & \If AC \Ne 0: (E) \Arr (AC) &
      &     & \If AC \Ne 0: (E) \Arr (AC) \\
      &     & \If (E) \Gt 0: \Skip &
      &     & \If (E) \Gt 0: \Skip \\
\end{tabularx}
\newpage

\begin{tabularx}{\textwidth}{l l X l l l}
\Span{Boolean}\\
 SETZ & 400 & 0 \Arr (AC) &
 AND & 404 & (AC) \And (E) \Arr (AC) \\
 SETZI & 401 & 0 \Arr (AC) &
 ANDI & 405 & (AC) \And 0,E \Arr (AC) \\
 SETZM & 402 & 0 \Arr (E) &
 ANDM & 406 & (AC) \And (E) \Arr (E) \\
 SETZB & 403 & 0 \Arr (AC)(E) &
 ANDB & 407 & (AC) \And (E) \Arr (AC)(E) \\
\\
 ANDCA & 410 & \com (AC) \And (E) \Arr (AC) &
 SETM & 414 & (E) \Arr (AC) \\
 ANDCAI & 411 & \com (AC) \And 0,E \Arr (AC) &
 SETMI & 415 & 0,E \Arr (AC) \\
 ANDCAM & 412 & \com (AC) \And (E) \Arr (E) &
 SETMM & 416 & (E) \Arr (E) [no-op] \\
 ANDCAB & 413 & \com (AC) \And (E) \Arr (AC)(E) &
 SETMB & 417 & (E) \Arr (AC)(E) \\
\\
 ANDCM & 420 & (AC) \And \com (E) \Arr (AC) &
 SETA & 424 & (AC) \Arr (AC) [no-op] \\
 ANDCMI & 421 & (AC) \And \com [0,E] \Arr (AC) &
 SETAI & 425 & (AC) \Arr (AC) [no-op] \\
 ANDCMM & 422 & (AC) \And \com (E) \Arr (E) &
 SETAM & 426 & (AC) \Arr (E) \\
 ANDCMB & 423 & (AC) \And \com (E) \Arr (AC)(E) &
 SETAB & 427 & (AC) \Arr (AC)(E) \\
\\
 XOR & 430 & (AC) \Xor (E) \Arr (AC) &
 IOR & 434 & (AC) \Or (E) \Arr (AC) \\
 XORI & 431 & (AC) \Xor 0,E \Arr (AC) &
 IORI & 435 & (AC) \Or 0,E \Arr (AC) \\
 XORM & 432 & (AC) \Xor (E) \Arr (E) &
 IORM & 436 & (AC) \Or (E) \Arr (E) \\
 XORB & 433 & (AC) \Xor (E) \Arr (AC)(E) &
 IORB & 437 & (AC) \Or (E) \Arr (AC)(E) \\
\\
 ANDCB & 440 & \com (AC) \And \com (E) \Arr (AC) &
 EQV & 444 & \com [(AC) \Xor (E)] \Arr (AC) \\
 ANDCBI & 441 & \com (AC) \And \com [0,E] \Arr (AC) &
 EQVI & 445 & \com [(AC) \Xor 0,E] \Arr (AC) \\
 ANDCBM & 442 & \com (AC) \And \com (E) \Arr (E) &
 EQVM & 446 & \com [(AC) \Xor (E)] \Arr (E) \\
 ANDCBB & 443 & \com (AC) \And \com (E) \Arr (AC)(E) &
 EQVB & 447 & \com [(AC) \Xor (E)] \Arr (AC)(E) \\
\\
 SETCA & 450 & \com (AC) \Arr (AC) &
 ORCA & 454 & \com (AC) \Or (E) \Arr (AC) \\
 SETCAI & 451 & \com (AC) \Arr (AC) &
 ORCAI & 455 & \com (AC) \Or 0,E \Arr (AC) \\
 SETCAM & 452 & \com (AC) \Arr (E) &
 ORCAM & 456 & \com (AC) \Or (E) \Arr (E) \\
 SETCAB & 453 & \com (AC) \Arr (AC)(E) &
 ORCAB & 457 & \com (AC) \Or (E) \Arr (AC)(E) \\
\\
 SETCM & 460 & \com (E) \Arr (AC) &
 ORCM & 464 & (AC) \Or \com (E) \Arr (AC) \\
 SETCMI & 461 & \com [0,E] \Arr (AC) &
 ORCMI & 465 & (AC) \Or \com [0,E] \Arr (AC) \\
 SETCMM & 462 & \com (E) \Arr (E) &
 ORCMM & 466 & (AC) \Or \com (E) \Arr (E) \\
 SETCMB & 463 & \com (E) \Arr (AC)(E) &
 ORCMB & 467 & (AC) \Or \com (E) \Arr (AC)(E) \\
\\
 ORCB & 470 & \com (AC) \Or \com (E) \Arr (AC) &
 SETO & 474 & 777777777777 \Arr (AC) \\
 ORCBI & 471 & \com (AC) \Or \com [0,E] \Arr (AC) &
 SETOI & 475 & 777777777777 \Arr (AC) \\
 ORCBM & 472 & \com (AC) \Or \com (E) \Arr (E) &
 SETOM & 476 & 777777777777 \Arr (E) \\
 ORCBB & 473 & \com (AC) \Or \com (E) \Arr (AC)(E) &
 SETOB & 477 & 777777777777 \Arr (AC)(E) \\
\end{tabularx}
\newpage

\begin{tabularx}{\textwidth}{l l X l l l}
\Span{Half Word Data Transmission}\\
 HLL & 500 & (E)\LT\ \Arr (AC)\LT &
 HRL & 504 & (E)\RT\ \Arr (AC)\LT \\
 HLLI & 501 & 0 \Arr (AC)\LT &
 HRLI & 505 & E \Arr (AC)\LT \\
 HLLM & 502 & (AC)\LT\ \Arr (E)\LT &
 HRLM & 506 & (AC)\RT\ \Arr (E)\LT \\
 HLLS & 503 & \ZeroAC &
 HRLS & 507 & (E)\RT\ \Arr (E)\LT \\
      &     &         &
      &     & \ZeroAC \\
\\
 HLLZ & 510 & (E)\LT,0 \Arr (AC) &
 HRLZ & 514 & (E)\RT,0 \Arr (AC) \\
 HLLZI & 511 & 0 \Arr (AC) &
 HRLZI & 515 & E,0 \Arr (AC) \\
 HLLZM & 512 & (AC)\LT,0 \Arr (E) &
 HRLZM & 516 & (AC)\RT,0 \Arr (E) \\
 HLLZS & 513 & 0 \Arr (E)\RT &
 HRLZS & 517 & (E)\RT,0 \Arr (E) \\
       &     & \ZeroAC &
       &     & \ZeroAC \\
\\
 HLLO & 520 & (E)\LT,777777 \Arr (AC) &
 HRLO & 524 & (E)\RT,777777 \Arr (AC) \\
 HLLOI & 521 & 0,777777 \Arr (AC) &
 HRLOI & 525 & E,777777 \Arr (AC) \\
 HLLOM & 522 & (AC)\LT,777777 \Arr (E) &
 HRLOM & 526 & (AC)\RT,777777 \Arr (E) \\
 HLLOS & 523 & 777777 \Arr (E)\RT &
 HRLOS & 527 & (E)\RT,777777 \Arr (E) \\
       &     & \ZeroAC &
       &     & \ZeroAC \\
\\
 HLLE & 530 & (E)\LT,[(E)\Sgn\ \Mult 777777] \Arr (AC) &
 HRLE & 534 & (E)\RT,[(E)\RSgn\ \Mult 777777] \Arr (AC) \\
 HLLEI & 531 & 0 \Arr (AC) &
 HRLEI & 535 & E,[E\RSgn\ \Mult 777777] \Arr (AC) \\
 HLLEM & 532 & (AC)\LT,[(AC)\Sgn\ \Mult 777777] \Arr (E) &
 HRLEM & 536 & (AC)\RT,[(AC)\RSgn\ \Mult 777777] \Arr (E) \\
 HLLES & 533 & (E)\Sgn\ \Mult 777777 \Arr (E)\RT &
 HRLES & 537 & (E)\RT,[(E)\RSgn\ \Mult 777777] \Arr (E) \\
       &     & \ZeroAC &
       &     & \ZeroAC \\
\\
 HRR & 540 & (E)\RT\ \Arr (AC)\RT &
 HLR & 544 & (E)\LT\ \Arr (AC)\RT \\
 HRRI & 541 & E \Arr (AC)\RT &
 HLRI & 545 & 0 \Arr (AC)\RT \\
 HRRM & 542 & (AC)\RT\ \Arr (E)\RT &
 HLRM & 546 & (AC)\LT\ \Arr (E)\RT \\
 HRRS & 543 & \ZeroAC &
 HLRS & 547 & (E)\LT\ \Arr (E)\RT \\
      &     &         &
      &     & \ZeroAC \\
\\
 HRRZ & 550 & 0,(E)\RT\ \Arr (AC) &
 HLRZ & 554 & 0,(E)\LT\ \Arr (AC) \\
 HRRZI & 551 & 0,E \Arr (AC) &
 HLRZI & 555 & 0 \Arr (AC) \\
 HRRZM & 552 & 0,(AC)\RT\ \Arr (E) &
 HLRZM & 556 & 0,(AC)\LT\ \Arr (E) \\
 HRRZS & 553 & 0 \Arr (E)\LT &
 HLRZS & 557 & 0,(E)\LT\ \Arr (E) \\
       &     & \ZeroAC &
       &     & \ZeroAC \\
\\
 HRRO & 560 & 777777,(E)\RT\ \Arr (AC) &
 HLRO & 564 & 777777,(E)\LT\ \Arr (AC) \\
 HRROI & 561 & 777777,E \Arr (AC) &
 HLROI & 565 & 777777,0 \Arr (AC) \\
 HRROM & 562 & 777777,(AC)\RT\ \Arr (E) &
 HLROM & 566 & 777777,(AC)\LT\ \Arr (E) \\
 HRROS & 563 & 777777 \Arr (E)\LT &
 HLROS & 567 & 777777,(E)\LT\ \Arr (E) \\
       &     & \ZeroAC &
       &     & \ZeroAC \\
\\
 HRRE & 570 & [(E)\RSgn\ \Mult 777777],(E)\RT \Arr (AC) &
 HLRE & 574 & [(E)\Sgn\ \Mult 777777],(E)\LT \Arr (AC) \\
 HRREI & 571 & [E\RSgn\ \Mult 777777],E \Arr (AC) &
 HLREI & 575 & 0 \Arr (AC) \\
 HRREM & 572 & [(AC)\RSgn\ \Mult 777777],(AC)\RT\ \Arr (E) &
 HLREM & 576 & [(AC)\Sgn\ \Mult 777777],(AC)\LT\ \Arr (E) \\
 HRRES & 573 & (E)\RSgn\ \Mult 777777 \Arr (E)\LT &
 HLRES & 577 & [(E)\Sgn\ \Mult 777777],(E)\LT\ \Arr (E) \\
       &     & \ZeroAC &
       &     & \ZeroAC \\
\end{tabularx}
\newpage

\begin{tabularx}{\textwidth}{l l X l l l}
\Span{Logical Testing and Manipulation}\\
 TRN & 600 & No-op &
 TLN & 601 & No-op \\
 TRNE & 602 & \If (AC)\RT\ \And E \Eq 0: \Skip &
 TLNE & 603 & \If (AC)\LT\ \And E \Eq 0: \Skip \\
 TRNA & 604 & \Skip &
 TLNA & 605 & \Skip \\
 TRNN & 606 & \If (AC)\RT\ \And E \Ne 0: \Skip &
 TLNN & 607 & \If (AC)\LT\ \And E \Ne 0: \Skip \\
\\
 TDN & 610 & No-op &
 TSN & 611 & No-op \\
 TDNE & 612 & \If (AC) \And (E) \Eq 0: \Skip &
 TSNE & 613 & \If (AC) \And (E)\Sw \Eq 0: \Skip \\
 TDNA & 614 & \Skip &
 TSNA & 615 & \Skip \\
 TDNN & 616 & \If (AC) \And (E) \Ne 0: \Skip &
 TSNN & 617 & \If (AC) \And (E)\Sw \Ne 0: \Skip \\
\\
 TRZ & 620 & (AC)\RT\ \And \com E \Arr (AC)\RT &
 TLZ & 621 & (AC)\LT\ \And \com E \Arr (AC)\LT \\
 TRZE & 622 & \If (AC)\RT\ \And E \Eq 0: \Skip &
 TLZE & 623 & \If (AC)\LT\ \And E \Eq 0: \Skip \\
      &     & (AC)\RT\ \And \com E \Arr (AC)\RT &
      &     & (AC)\LT\ \And \com E \Arr (AC)\LT \\
 TRZA & 624 & (AC)\RT\ \And \com E \Arr (AC)\RT\ \Skip &
 TLZA & 625 & (AC)\LT\ \And \com E \Arr (AC)\LT\ \Skip \\
 TRZN & 626 & \If (AC)\RT\ \And E \Ne 0: \Skip &
 TLZN & 627 & \If (AC)\LT\ \And E \Ne 0: \Skip \\
      &     & (AC)\RT\ \And \com E \Arr (AC)\RT &
      &     & (AC)\LT\ \And \com E \Arr (AC)\LT \\
\\
 TDZ & 630 & (AC) \And \com(E) \Arr (AC) &
 TSZ & 631 & (AC) \And \com(E)\Sw \Arr (AC) \\
 TDZE & 632 & \If (AC) \And (E) \Eq 0: \Skip &
 TSZE & 633 & \If (AC) \And (E)\Sw\ \Eq 0: \Skip \\
      &     & (AC) \And \com(E) \Arr (AC) &
      &     & (AC) \And \com(E)\Sw \Arr (AC) \\
 TDZA & 634 & (AC) \And \com(E) \Arr (AC) \Skip &
 TSZA & 635 & (AC) \And \com(E)\Sw \Arr (AC) \Skip \\
 TDZN & 636 & \If (AC) \And (E) \Ne 0: \Skip &
 TSZN & 637 & \If (AC) \And (E)\Sw \Ne 0: \Skip \\
      &     & (AC) \And \com(E) \Arr (AC) &
      &     & (AC) \And \com(E)\Sw \Arr (AC) \\
\\
 TRC & 640 & (AC)\RT\ \Xor E \Arr (AC)\RT &
 TLC & 641 & (AC)\LT\ \Xor E \Arr (AC)\LT \\
 TRCE & 642 & \If (AC)\RT\ \And E \Eq 0: \Skip &
 TLCE & 643 & \If (AC)\LT\ \And E \Eq 0: \Skip \\
      &     & (AC)\RT\ \Xor E \Arr (AC)\RT &
      &     & (AC)\LT\ \Xor E \Arr (AC)\LT \\
 TRCA & 644 & (AC)\RT\ \Xor E \Arr (AC)\RT\ \Skip &
 TLCA & 645 & (AC)\LT\ \Xor E \Arr (AC)\LT\ \Skip \\
 TRCN & 646 & \If (AC)\RT\ \And E \Ne 0: \Skip &
 TLCN & 647 & \If (AC)\LT\ \And E \Ne 0: \Skip \\
      &     & (AC)\RT\ \Xor E \Arr (AC)\RT &
      &     & (AC)\LT\ \Xor E \Arr (AC)\LT \\
\\
 TDC & 650 & (AC) \Xor (E) \Arr (AC) &
 TSC & 651 & (AC) \Xor (E)\Sw\ \Arr (AC) \\
 TDCE & 652 & \If (AC) \And (E) \Eq 0: \Skip &
 TSCE & 653 & \If (AC) \And (E)\Sw\ \Eq 0: \Skip \\
      &     & (AC) \Xor (E) \Arr (AC) &
      &     & (AC) \Xor (E)\Sw\ \Arr (AC) \\
 TDCA & 654 & (AC) \Xor (E) \Arr (AC) \Skip &
 TSCA & 655 & (AC) \Xor (E)\Sw\ \Arr (AC) \Skip \\
 TDCN & 656 & \If (AC) \And (E) \Ne 0: \Skip &
 TSCN & 657 & \If (AC) \And (E)\Sw\ \Ne 0: \Skip \\
      &     & (AC) \Xor (E) \Arr (AC) &
      &     & (AC) \Xor (E)\Sw\ \Arr (AC) \\
\\
 TRO & 660 & (AC)\RT\ \Or E \Arr (AC)\RT &
 TLO & 661 & (AC)\LT\ \Or E \Arr (AC)\LT \\
 TROE & 662 & \If (AC)\RT\ \And E \Eq 0: \Skip &
 TLOE & 663 & \If (AC)\LT\ \And E \Eq 0: \Skip \\
      &     & (AC)\RT\ \Or E \Arr (AC)\RT &
      &     & (AC)\LT\ \Or E \Arr (AC)\LT \\
 TROA & 664 & (AC)\RT\ \Or E \Arr (AC)\RT\ \Skip &
 TLOA & 665 & (AC)\LT\ \Or E \Arr (AC)\LT\ \Skip \\
 TRON & 666 & \If (AC)\RT\ \And E \Ne 0: \Skip &
 TLON & 667 & \If (AC)\LT\ \And E \Ne 0: \Skip \\
      &     & (AC)\RT\ \Or E \Arr (AC)\RT &
      &     & (AC)\LT\ \Or E \Arr (AC)\LT \\
\\
 TDO & 670 & (AC) \Or (E) \Arr (AC) &
 TSO & 671 & (AC) \Or (E)\Sw\ \Arr (AC) \\
 TDOE & 672 & \If (AC) \And (E) \Eq 0: \Skip &
 TSOE & 673 & \If (AC) \And (E)\Sw\ \Eq 0: \Skip \\
      &     & (AC) \Or (E) \Arr (AC) &
      &     & (AC) \Or (E)\Sw\ \Arr (AC) \\
 TDOA & 674 & (AC) \Or (E) \Arr (AC) \Skip &
 TSOA & 675 & (AC) \Or (E)\Sw\ \Arr (AC) \Skip \\
 TDON & 676 & \If (AC) \And (E) \Ne 0: \Skip &
 TSON & 677 & \If (AC) \And (E)\Sw\ \Ne 0: \Skip \\
      &     & (AC) \Or (E) \Arr (AC) &
      &     & (AC) \Or (E)\Sw\ \Arr (AC) \\
\end{tabularx}
\newpage


\begin{tabularx}{\textwidth}{l l X}
\multicolumn{3}{c}{IO Instructions} \\
 BLKI & 7-- --00  & (E) + 1000001 \Arr (E); \Sc{DATA} \Arr ((E)\RT) \\
      &           & \If ((E)\LT) \Eq 0: Execute next instruction \\
      &           & \If ((E)\LT) \Ne 0: \Skip/dismiss PI break \\
 DATAI & 7-- --04  & \Sc{DATA} \Arr (E) \\
 BLKO & 7-- --10  & (E) + 1000001 \Arr (E); ((E)\RT) \Arr \Sc{DATA} \\
      &           & \If ((E)\LT) \Eq 0: Execute next instruction \\
      &           & \If ((E)\LT) \Ne 0: \Skip/dismiss PI break \\
 DATAO & 7-- --14  & (E) \Arr \Sc{DATA} \\
 CONO  & 7-- --20  & E \Arr \Sc{COMMAND} \\
 CONI  & 7-- --24  & \Sc{STATUS} => (E) \\
 CONSZ & 7-- --30  & \If \Sc{STATUS} \And E \Eq 0: \Skip \\
 CONSO & 7-- --34  & \If \Sc{STATUS} \And E \Ne 0: \Skip \\
\end{tabularx}
\vspace{2em}

\renewcommand{\arraystretch}{1.5}

\newcolumntype{B}{>{\centering\arraybackslash}p{\bitlen}}
\newcolumntype{F}{>{\centering\scriptsize\arraybackslash}p{2.7\bitlen}}

\begin{tabular}{@{}B@{}@{}B@{}@{}B@{}@{}B@{}@{}B@{}@{}B@{}@{}B@{}@{}B@{}@{}B@{}@{}B@{}@{}B@{}@{}B@{}@{}B@{}@{}B@{}@{}B@{}@{}B@{}@{}B@{}@{}B@{}@{}B@{}@{}B@{}@{}B@{}@{}B@{}@{}B@{}@{}B@{}@{}B@{}@{}B@{}@{}B@{}@{}B@{}@{}B@{}@{}B@{}@{}B@{}@{}B@{}@{}B@{}@{}B@{}@{}B@{}@{}B@{}}
 &  &  &  &  &  &  &  &  &  &  &  &  &  &  &  &  &  &  &  &  &  &  &  &  &  &  &  &  &  &  &  &  &  &  &  \\[-2em]
\multicolumn{36}{@{}c@{}}{Basic Instruction} \\
\hline
\multicolumn{9}{|@{}c@{}}{Inst} &
\multicolumn{4}{|@{}c@{}}{AC} &
\multicolumn{1}{|@{}c@{}}{I} &
\multicolumn{4}{|@{}c@{}}{X} &
\multicolumn{18}{|@{}c@{}|}{Y} \\
\hline
	\multicolumn{36}{c}{}\\[-2.4em]
\multicolumn{1}{@{}c@{}}{\scriptsize 0} &
\multicolumn{7}{@{}c@{}}{} &
\multicolumn{1}{@{}c@{}}{\scriptsize 8} &
\multicolumn{1}{@{}c@{}}{\scriptsize 9} &
\multicolumn{2}{@{}c@{}}{} &
\multicolumn{1}{@{}c@{}}{\scriptsize 12} &
\multicolumn{1}{@{}c@{}}{\scriptsize 13} &
\multicolumn{1}{@{}c@{}}{\scriptsize 14} &
\multicolumn{2}{@{}c@{}}{} &
\multicolumn{1}{@{}c@{}}{\scriptsize 17} &
\multicolumn{1}{@{}c@{}}{\scriptsize 18} &
\multicolumn{16}{@{}c@{}}{} &
\multicolumn{1}{@{}c@{}}{\scriptsize 35} \\

\multicolumn{36}{@{}c@{}}{IO Instruction} \\
\hline
\multicolumn{3}{|@{}c@{}}{1 1 1} &
\multicolumn{7}{|@{}c@{}}{Device} &
\multicolumn{3}{|@{}c@{}}{Inst} &
\multicolumn{1}{|@{}c@{}}{I} &
\multicolumn{4}{|@{}c@{}}{X} &
\multicolumn{18}{|@{}c@{}|}{Y} \\
\hline
	\multicolumn{36}{c}{}\\[-2.4em]
\multicolumn{1}{@{}c@{}}{\scriptsize 0} &
\multicolumn{1}{@{}c@{}}{} &
\multicolumn{1}{@{}c@{}}{\scriptsize 2} &
\multicolumn{1}{@{}c@{}}{\scriptsize 3} &
\multicolumn{5}{@{}c@{}}{} &
\multicolumn{1}{@{}c@{}}{\scriptsize 9} &
\multicolumn{1}{@{}c@{}}{\scriptsize 10} &
\multicolumn{1}{@{}c@{}}{} &
\multicolumn{1}{@{}c@{}}{\scriptsize 12} &
\multicolumn{1}{@{}c@{}}{\scriptsize 13} &
\multicolumn{1}{@{}c@{}}{\scriptsize 14} &
\multicolumn{2}{@{}c@{}}{} &
\multicolumn{1}{@{}c@{}}{\scriptsize 17} &
\multicolumn{1}{@{}c@{}}{\scriptsize 18} &
\multicolumn{16}{@{}c@{}}{} &
\multicolumn{1}{@{}c@{}}{\scriptsize 35} \\

	\multicolumn{36}{@{}c@{}}{Byte Pointer} \\
\hline
\multicolumn{6}{|@{}c@{}}{Pos} &
\multicolumn{6}{|@{}c@{}}{Size} &
\multicolumn{1}{|@{}c@{}}{} &
\multicolumn{1}{|@{}c@{}}{I} &
\multicolumn{4}{|@{}c@{}}{X} &
\multicolumn{18}{|@{}c@{}|}{Y} \\
\hline
	\multicolumn{36}{c}{}\\[-2.4em]
\multicolumn{1}{@{}c@{}}{\scriptsize 0} &
\multicolumn{4}{@{}c@{}}{} &
\multicolumn{1}{@{}c@{}}{\scriptsize 5} &
\multicolumn{1}{@{}c@{}}{\scriptsize 6} &
\multicolumn{4}{@{}c@{}}{} &
\multicolumn{1}{@{}c@{}}{\scriptsize 11} &
\multicolumn{1}{@{}c@{}}{\scriptsize 12} &
\multicolumn{1}{@{}c@{}}{\scriptsize 13} &
\multicolumn{1}{@{}c@{}}{\scriptsize 14} &
\multicolumn{2}{@{}c@{}}{} &
\multicolumn{1}{@{}c@{}}{\scriptsize 17} &
\multicolumn{1}{@{}c@{}}{\scriptsize 18} &
\multicolumn{16}{@{}c@{}}{} &
\multicolumn{1}{@{}c@{}}{\scriptsize 35} \\

\end{tabular}

\begin{tabular}{|@{}F@{}|@{}F@{}|@{}F@{}|@{}F@{}|@{}F@{}|@{}F@{}|@{}F@{}|@{}F@{}|@{}F@{}|@{}F@{}|@{}F@{}|@{}F@{}|@{}F@{}|}
	\multicolumn{13}{@{}c@{}}{\normalsize PC Word Flags} \\
\hline
OV & CRY 0 & CRY 1 & PC CH & BIS & USER & & & & & & & \\
\hline
	\multicolumn{13}{c}{}\\[-2.4em]
\multicolumn{1}{@{}c@{}}{\scriptsize 0} &
\multicolumn{1}{@{}c@{}}{\scriptsize 1} &
\multicolumn{1}{@{}c@{}}{\scriptsize 2} &
\multicolumn{1}{@{}c@{}}{\scriptsize 3} &
\multicolumn{1}{@{}c@{}}{\scriptsize 4} &
\multicolumn{1}{@{}c@{}}{\scriptsize 5} &
\multicolumn{1}{@{}c@{}}{\scriptsize 6} &
\multicolumn{1}{@{}c@{}}{\scriptsize 7} &
\multicolumn{1}{@{}c@{}}{\scriptsize 8} &
\multicolumn{1}{@{}c@{}}{\scriptsize 9} &
\multicolumn{1}{@{}c@{}}{\scriptsize 10} &
\multicolumn{1}{@{}c@{}}{\scriptsize 11} &
\multicolumn{1}{@{}c@{}}{\scriptsize 12} \\
\end{tabular}
\\[2em]

\renewcommand{\arraystretch}{1.0}


\begin{tabular}{l l l}
JFCL 0, & & No-op \\
JFCL 1, & JPC & Jump on PC Change flag \\
JFCL 2, & JCRY1 & Jump on Carry 1 flag \\
JFCL 4, & JCRY0 & Jump on Carry 0 flag \\
JFCL 6, & JCRY & Jump on Carry 0 or 1 flag \\
JFCL 10, & JOV & Jump on Overflow flag \\
\end{tabular}
\vspace{2em}

\begin{tabular}{l l l}
JRST 0, & & Jump \\
JRST 1, & & Jump and enter User mode \\
JRST 2, & JRSTF & Jump and restore flags \\
JRST 4, & HALT & Jump and halt \\
JRST 10, & & Jump and reset priority interrupt channel \\
JRST 12, & JEN & Jump, restore flags and reset priority interrupt channel \\
\end{tabular}
\vspace{2em}

Positive shift/rotate values move the values left,
negative values move right.
ASHC always moves the sign bit of the higher word
into the sign bit of the lower word.

\end{document}
