SX Microcontoller Basic Math Method Expression Evaluator



;Evaluating 'A*B+C'

;var (A) :1 @36
;var (B) :1 @37
;MUL 8bit @37 * @36 to @36...37.
;var (C) :1 @38
;ADD 16bit @38 + @36 to @36...37.
Expression:

show the process
Examples: Operations (In reverse order of priority) Atoms: Reading the results:
At signs (@) indicate memory locations (file register address). Colons (:) indicate width in bytes. Items in () are the sepecific item being worked with by the general method. Links take you to code library indexes or code generators for the required operation.
To do: