s type of coordinate system is used in many computer graphics systems.  It defines a procedure to calculate the area of a rectangle.
<h4>Code:</h4>
<pre>
    %include 'nasmx.inc'
    
    NASMX_STRUC POINT
        NASMX_RESERVE x, uint32_t, 1
        NASMX_RESERVE y, uint32_t, 1
    NASMX_ENDSTRUC

    NASMX_STRUC RECT
        NASMX_STRUC top_left, POINT
            NASMX_RESERVE x, uint32_t, 1
            NASMX_RESERVE y, uint32_t, 1
	NASMX_ENDSTRUC
        NASMX_STRUC bottom_right, POINT
 