On 6/16/15, John Ehrman <[email protected]> wrote:

> In the description of the TRTE and TRTRE instructions in the POP, there's
> a table giving the expected length of the function-code table for various
> combinations of the three bits named A, F, and L in the M3 mask field.
> Your exercise:
>
> Suppose the three symbols A, F, and L in the M3 mask have been defined as
> absolute symbols with values 0 or 1.
> Suppose also that you must reserve space for a function-code table with
> size depending on the values of A, F, and L, as illustrated
> in the POP table. Write an EQU statement defining a symbol TL that will
> contain the length of the reserved area for the table, for all
> combinations of values of A, F, and L.

Suppose the desired length is to be the value of symbol T

T     EQU     (F+1)*(256+A*(1-L)*65280)

-- 
Bob Netzlof a/k/a Sweet Old Bob

Reply via email to