$tabular .= "\\paragraph{Example:}~\\\\ \n \\begin{lstlisting} \n ".$_[7]. " \\end{lstlisting}\n";
}
+ if($_[8]) {
+ $tabular .= "\\paragraph{Aliases to this Instruction:}~\\\\\ \n";
+ my @aliases = split(/\|/, $_[8]);
+
+ $tabular .= "\\begin{table}[!h] \n \\centering \n \\begin{tabular}{|c|c|} \\hline \n";
+ $tabular .= "Alias & ".$_[1]." equivalent \\\\ \\hline \n";
+ foreach my $alias (@aliases) {
+ my $equv;
+ my $from;
+ ($from, $equv) = split(/-/, $alias);
+ $tabular .= $from . " & ".$equv." \\\\ \\hline \n";
+ }
+ $tabular .= "\\end{tabular} \n \\caption{Aliases to the instruction ".$_[1]."} \n \\end{table}";
+ }
+
print $tabular;
}