X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=mtaskext.bytecode.tex;h=fd5feee518ef367f8417ef521727c96532078406;hb=a8c4fab6539e030e3d656e2420a31a5c22874376;hp=33f5f703d3c805fbc89fc9e83702acd594cc0aab;hpb=f3e07851e96744138c972a7b875b6cff82c44fe5;p=msc-thesis1617.git diff --git a/mtaskext.bytecode.tex b/mtaskext.bytecode.tex index 33f5f70..fd5feee 100644 --- a/mtaskext.bytecode.tex +++ b/mtaskext.bytecode.tex @@ -218,15 +218,15 @@ addSDS sds v s = {s & sdss=[{sds & sdsval=BCValue v}:s.sdss]} \end{lstlisting} All assignable types compile to an \gls{RWST} which writes the specific fetch -instruction(s). For example, using an \gls{SDS} always results in an -expression of the form \CI{sds \x=4 In ...}. The actual \CI{x} is the +instruction(s). For example, using an \gls{SDS} always results in % chktex 36 +an expression of the form \CI{sds \x=4 In ...}. The actual \CI{x} is the \gls{RWST} that always writes one \CI{BCSdsFetch} instruction with the correctly embedded \gls{SDS}. Assigning to an analog pin will result in the \gls{RWST} containing the \CI{BCAnalogRead} instruction. When the operation on the assignable is not a read operation from but an assign operation, the -instruction(s) will be rewritten accordingly. This results in a \CI{BCSdsStore} -or \CI{BCAnalogWrite} instruction respectively. The implementation for this is -given in Listing~\ref{lst:assignmentview}. +instruction(s) will be rewritten accordingly. This results in a %chktex 36 +\CI{BCSdsStore} or \CI{BCAnalogWrite} instruction respectively. The +implementation for this is given in Listing~\ref{lst:assignmentview}. \begin{lstlisting}[label={lst:assignmentview},% caption={Bytecode view implementation for assignment.}]