;Alto->8086 small-c compiler rev 2.0
C←CODE SEGMENT

$INCLUDE(8086LIB.D)

$INCLUDE(test124.DEC)

ASSUME CS:C←CODE, DS:C←DATA

; int flag;

; struct Str { int x[5]; char c1; char c2; };

; Test124()
←Test124:
 CALL StkChk
PUSH BP
MOV BP,SP

;   {

;   struct Str *s;
PUSH DX

;   s->c1 = (flag)? 0300: SomeExternalProc();

;	BX ← ←s
POP BX
PUSH BX
PUSH BX
MOV BX,←flag
OR BX,BX
JZ X1
MOV BX,0C0X
JR X2
X1:
CALL ←SomeExternalProc
X2:
MOV AL,BL
POP BX
MOV [BX+10],AL

;   };
MOV SP,BP
POP BP
RET;

; Externals Declared Here
PUBLIC ←flag
PUBLIC ←Test124

C←CODE ENDS

; Number of Bytes of Code = 022X, (34)