Load Map for File echo, Input = TEMP.REL, Output = Echo.OBJ, Module Name = Echo.OBJ _CALLDEBUGGER Ident = 1 Label Near Segment = 1B:C_CODE, Offset = 985(585), Public _READTMR Ident = 2 Label Near Segment = 1B:C_CODE, Offset = 955(555), Public _PORTSTR Ident = 3 Label Near Segment = 1B:C_CODE, Offset = 912(512), Public _GETCHAR Ident = 4 Label Near Segment = 1B:C_CODE, Offset = 4E5(E5), Public _PUTCHAR Ident = 5 Label Near Segment = 1B:C_CODE, Offset = 494(94), Public ??SEG Ident = 6 [SEGMENT] Class = DEFAULT_CLASS, PARA PUBLIC, Address = [0]0, Size = 0 _DOUBLEDIFFERENCE Ident = 7 Label Near Segment = 1B:C_CODE, Offset = 7D9(3D9), Public _USC Ident = 8 Label Near Segment = 1B:C_CODE, Offset = 7B1(3B1), Public _AVC Ident = 9 Label Near Segment = 1B:C_CODE, Offset = 51C(11C), Public _WDC Ident = 10 Variable Word Segment = 1A:C_DATA, Offset = 404(4), Public _MAX Ident = 11 Label Near Segment = 1B:C_CODE, Offset = 79B(39B), Public _BYTEBLT Ident = 12 Label Near Segment = 1B:C_CODE, Offset = 755(355), Public _PUTCRCHAR Ident = 13 Label Near Segment = 1B:C_CODE, Offset = 4A6(A6), Public _NBPUTCHAR Ident = 14 Label Near Segment = 1B:C_CODE, Offset = 477(77), Public _REMAINDER Ident = 15 Variable Word Segment = 1A:C_DATA, Offset = 408(8), Public SPACE Ident = 16 [SEGMENT] Class = DEFAULT_CLASS, PARA PRIVATE, Address = [0]0, Size = 0 _APPLY Ident = 17 Label Near Segment = 1B:C_CODE, Offset = 89A(49A), Public _CALL0 Ident = 18 Label Near Segment = 1B:C_CODE, Offset = 882(482), Public _CALL1 Ident = 19 Label Near Segment = 1B:C_CODE, Offset = 889(489), Public _CALL2 Ident = 20 Label Near Segment = 1B:C_CODE, Offset = 88F(48F), Public _MOVE2 Ident = 21 Label Near Segment = 1B:C_CODE, Offset = 77F(37F), Public _OUTBYTE Ident = 22 Label Near Segment = 1B:C_CODE, Offset = 906(506), Public _RETURNLOC Ident = 23 Label Near Segment = 1B:C_CODE, Offset = 874(474), Public _MYFRAME Ident = 24 Label Near Segment = 1B:C_CODE, Offset = 86A(46A), Public _DOUBLEINC Ident = 25 Label Near Segment = 1B:C_CODE, Offset = 7EC(3EC), Public C_DATA Ident = 26 [SEGMENT] Class = DEFAULT_CLASS, PARA PRIVATE, Address = [0]590, Base = 400, Size = A C_CODE Ident = 27 [SEGMENT] Class = DEFAULT_CLASS, PARA PRIVATE, Address = [0]0, Base = 400, Size = 58C C_GROUP Ident = 28 [GROUP] :C_DATA, :C_CODE, :SPACE, _SWAB Ident = 29 Label Near Segment = 1B:C_CODE, Offset = 928(528), Public _DWDC Ident = 30 Label Near Segment = 1B:C_CODE, Offset = 93E(53E), Public _IWDC Ident = 31 Label Near Segment = 1B:C_CODE, Offset = 92B(52B), Public _GETC Ident = 32 Label Near Segment = 1B:C_CODE, Offset = 4F1(F1), Public _PUTC Ident = 33 Label Near Segment = 1B:C_CODE, Offset = 4C2(C2), Public _BAUD Ident = 34 Label Near Segment = 1B:C_CODE, Offset = 534(134), Public STKCHK Ident = 35 Label Near Segment = 1B:C_CODE, Offset = 971(571), Public _DOUBLEINCREMENT Ident = 36 Label Near Segment = 1B:C_CODE, Offset = 7CA(3CA), Public _INIT8274 Ident = 37 Label Near Segment = 1B:C_CODE, Offset = 470(70), Public _UREM Ident = 38 Label Near Segment = 1B:C_CODE, Offset = 8E7(4E7), Public _STOREB Ident = 39 Label Near Segment = 1B:C_CODE, Offset = 903(503), Public _FETCHB Ident = 40 Label Near Segment = 1B:C_CODE, Offset = 8FC(4FC), Public _MAIN Ident = 41 Label Near Segment = 1B:C_CODE, Offset = 41C(1C), Public _ZERO Ident = 42 Label Near Segment = 1B:C_CODE, Offset = 771(371), Public _INBYTE Ident = 43 Label Near Segment = 1B:C_CODE, Offset = 90C(50C), Public _BLOCK Ident = 44 Label Near Segment = 1B:C_CODE, Offset = 44E(4E), Public DISPATCHW Ident = 45 Label Near Segment = 1B:C_CODE, Offset = 456(56), Public _UDIV Ident = 46 Label Near Segment = 1B:C_CODE, Offset = 8CA(4CA), Public _CHAV Ident = 47 Label Near Segment = 1B:C_CODE, Offset = 510(110), Public _MIN Ident = 48 Label Near Segment = 1B:C_CODE, Offset = 790(390), Public _UMAX Ident = 49 Label Near Segment = 1B:C_CODE, Offset = 7A6(3A6), Public _TMREXP Ident = 50 Label Near Segment = 1B:C_CODE, Offset = 963(563), Public _MULTEQ Ident = 51 Label Near Segment = 1B:C_CODE, Offset = 852(452), Public _SETTMR Ident = 52 Label Near Segment = 1B:C_CODE, Offset = 95B(55B), Public _STOREW Ident = 53 Label Near Segment = 1B:C_CODE, Offset = 8F9(4F9), Public _FETCHW Ident = 54 Label Near Segment = 1B:C_CODE, Offset = 8F4(4F4), Public _SETBLOCK Ident = 55 Label Near Segment = 1B:C_CODE, Offset = 764(364), Public _MARSHALL Ident = 56 Label Near Segment = 1B:C_CODE, Offset = 73B(33B), Public _RETURNTO Ident = 57 Label Near Segment = 1B:C_CODE, Offset = 878(478), Public _DOUBLEEQ Ident = 58 Label Near Segment = 1B:C_CODE, Offset = 836(436), Public _MOVEBLOCK Ident = 59 Label Near Segment = 1B:C_CODE, Offset = 72C(32C), Public _DOUBLEDIFF Ident = 60 Label Near Segment = 1B:C_CODE, Offset = 80C(40C), Public _RETURNFROM Ident = 61 Label Near Segment = 1B:C_CODE, Offset = 870(470), Public _CALLERSFRAME Ident = 62 Label Near Segment = 1B:C_CODE, Offset = 86D(46D), Public _STACKLIMIT Ident = 63 Variable Word Segment = 1A:C_DATA, Offset = 406(6), Public _DOUBLEUDIV Ident = 64 Label Near Segment = 1B:C_CODE, Offset = 8D7(4D7), Public _UGT Ident = 65 Label Near Segment = 1B:C_CODE, Offset = 8BF(4BF), Public ;SEGMENT C_CODE.DEFAULT_CLASS ;File cstartml.dsm ;C_DATA ENDS [0000]0400: B8 00 00 ; MOV AX,SBASE [0000]0403: 8E D0 ; MOV SS,AX [0000]0405: 8E C0 ; MOV ES,AX [0000]0407: 8E D8 ; MOV DS,AX [0000]0409: B8 FE D3 ; MOV AX,SPIN [0000]040C: 8B E0 ; MOV SP,AX [0000]040E: C7 06 96 09 20 D0 ; MOV _stackLimit,SLIM [0000]0414: E8 05 00 ; CALL _main [0000]0417: FF 2E 90 09 ; JMP DWORD PTR JHUNK [0000]041B: 90 ;File echo.asm ; [0000]041C: 55 ;PUSH BP [0000]041D: 8B EC ;MOV BP,SP [0000]041F: 33 DB ;XOR BX,BX [0000]0421: E8 F8 00 ;CALL _AvC [0000]0424: 0B DB ;OR BX,BX [0000]0426: 74 0A ;JZ X3 [0000]0428: 33 DB ;XOR BX,BX [0000]042A: E8 C4 00 ;CALL _GetC [0000]042D: 33 C9 ;XOR CX,CX [0000]042F: E8 90 00 ;CALL _PutC [0000]0432: BB 01 00 ;MOV BX,1 [0000]0435: E8 E4 00 ;CALL _AvC [0000]0438: 0B DB ;OR BX,BX [0000]043A: 74 0C ;JZ X4 [0000]043C: BB 01 00 ;MOV BX,1 [0000]043F: E8 AF 00 ;CALL _GetC [0000]0442: B9 01 00 ;MOV CX,1 [0000]0445: E8 7A 00 ;CALL _PutC [0000]0448: EB D5 ;JR X1 [0000]044A: 8B E5 ;MOV SP,BP [0000]044C: 5D ;POP BP [0000]044D: C3 ;RET; [0000]044E: 55 ;PUSH BP [0000]044F: 8B EC ;MOV BP,SP [0000]0451: 8B E5 ;MOV SP,BP [0000]0453: 5D ;POP BP [0000]0454: C3 ;RET; [0000]0455: 90 ;File LIB8086ml.dsm ;C_CODE SEGMENT [0000]0456: 8B D3 ;MOV DX,BX; VALUE [0000]0458: 5B ;POP BX; GET RETURN LOC (ADDRESS OF TABLE) INTO BC [0000]0459: 8B 07 ;MOV AX,[BX]; TEST WORD [0000]045B: 0B C0 ;OR AX,AX [0000]045D: 74 09 ;JRZ DISWGO [0000]045F: 3B C2 ;CMP AX,DX; SEE IF EQUAL [0000]0461: 74 05 ;JRZ DISWGO [0000]0463: 83 C3 04 ;ADD BX,4 [0000]0466: EB F1 ;JR DISWLOOP [0000]0468: 83 C3 02 ;ADD BX,2 [0000]046B: 8B 1F ;MOV BX,[BX]; ADDRESS [0000]046D: FF E3 ;JMP BX; GO TO IT [0000]046F: 90 ;File d8274.asm ;INCLUDE(8086LIB.D) [0000]0470: 55 ;PUSH BP [0000]0471: 8B EC ;MOV BP,SP [0000]0473: 8B E5 ;MOV SP,BP [0000]0475: 5D ;POP BP [0000]0476: C3 ;RET; [0000]0477: 55 ;PUSH BP [0000]0478: 8B EC ;MOV BP,SP [0000]047A: 53 ;PUSH BX [0000]047B: 33 DB ;XOR BX,BX [0000]047D: E8 C1 01 ;CALL _SIOFree [0000]0480: 0B DB ;OR BX,BX [0000]0482: 75 02 ;JNZ X2 [0000]0484: EB F5 ;JR X1 [0000]0486: 58 ;POP AX [0000]0487: 50 ;PUSH AX [0000]0488: 98 ;CBW [0000]0489: 8B D8 ;MOV BX,AX [0000]048B: 33 C9 ;XOR CX,CX [0000]048D: E8 E1 01 ;CALL _SIOPutC [0000]0490: 8B E5 ;MOV SP,BP [0000]0492: 5D ;POP BP [0000]0493: C3 ;RET; [0000]0494: 55 ;PUSH BP [0000]0495: 8B EC ;MOV BP,SP [0000]0497: 53 ;PUSH BX [0000]0498: 58 ;POP AX [0000]0499: 50 ;PUSH AX [0000]049A: 98 ;CBW [0000]049B: 8B D8 ;MOV BX,AX [0000]049D: 33 C9 ;XOR CX,CX [0000]049F: E8 20 00 ;CALL _PutC [0000]04A2: 8B E5 ;MOV SP,BP [0000]04A4: 5D ;POP BP [0000]04A5: C3 ;RET; [0000]04A6: 55 ;PUSH BP [0000]04A7: 8B EC ;MOV BP,SP [0000]04A9: 53 ;PUSH BX [0000]04AA: 58 ;POP AX [0000]04AB: 50 ;PUSH AX [0000]04AC: 98 ;CBW [0000]04AD: 8B D8 ;MOV BX,AX [0000]04AF: E8 E2 FF ;CALL _PutChar [0000]04B2: 58 ;POP AX [0000]04B3: 50 ;PUSH AX [0000]04B4: 3C 0D ;CMP AL,0DX [0000]04B6: 75 06 ;JNZ X3 [0000]04B8: BB 0A 00 ;MOV BX,0AX [0000]04BB: E8 D6 FF ;CALL _PutChar [0000]04BE: 8B E5 ;MOV SP,BP [0000]04C0: 5D ;POP BP [0000]04C1: C3 ;RET; [0000]04C2: 55 ;PUSH BP [0000]04C3: 8B EC ;MOV BP,SP [0000]04C5: 51 ;PUSH CX [0000]04C6: 53 ;PUSH BX [0000]04C7: 8B 5E FE ;MOV BX,[BP-2] [0000]04CA: E8 74 01 ;CALL _SIOFree [0000]04CD: 0B DB ;OR BX,BX [0000]04CF: 75 05 ;JNZ X5 [0000]04D1: E8 7A FF ;CALL _Block [0000]04D4: EB F1 ;JR X4 [0000]04D6: 58 ;POP AX [0000]04D7: 50 ;PUSH AX [0000]04D8: 98 ;CBW [0000]04D9: 8B D8 ;MOV BX,AX [0000]04DB: 8B 4E FE ;MOV CX,[BP-2] [0000]04DE: E8 90 01 ;CALL _SIOPutC [0000]04E1: 8B E5 ;MOV SP,BP [0000]04E3: 5D ;POP BP [0000]04E4: C3 ;RET; [0000]04E5: 55 ;PUSH BP [0000]04E6: 8B EC ;MOV BP,SP [0000]04E8: 33 DB ;XOR BX,BX [0000]04EA: E8 04 00 ;CALL _GetC [0000]04ED: 8B E5 ;MOV SP,BP [0000]04EF: 5D ;POP BP [0000]04F0: C3 ;RET; [0000]04F1: 55 ;PUSH BP [0000]04F2: 8B EC ;MOV BP,SP [0000]04F4: 53 ;PUSH BX [0000]04F5: 5B ;POP BX [0000]04F6: 53 ;PUSH BX [0000]04F7: E8 22 00 ;CALL _AvC [0000]04FA: 0B DB ;OR BX,BX [0000]04FC: 75 05 ;JNZ X7 [0000]04FE: E8 4D FF ;CALL _Block [0000]0501: EB F2 ;JR X6 [0000]0503: 5B ;POP BX [0000]0504: 53 ;PUSH BX [0000]0505: E8 51 01 ;CALL _SIOGetC [0000]0508: 81 E3 7F 00 ;AND BX,07FX [0000]050C: 8B E5 ;MOV SP,BP [0000]050E: 5D ;POP BP [0000]050F: C3 ;RET; [0000]0510: 55 ;PUSH BP [0000]0511: 8B EC ;MOV BP,SP [0000]0513: 33 DB ;XOR BX,BX [0000]0515: E8 04 00 ;CALL _AvC [0000]0518: 8B E5 ;MOV SP,BP [0000]051A: 5D ;POP BP [0000]051B: C3 ;RET; [0000]051C: 55 ;PUSH BP [0000]051D: 8B EC ;MOV BP,SP [0000]051F: 53 ;PUSH BX [0000]0520: 5B ;POP BX [0000]0521: 53 ;PUSH BX [0000]0522: E8 69 01 ;CALL _SIOCmdP [0000]0525: 5A ;POP DX [0000]0526: 53 ;PUSH BX [0000]0527: 5B ;POP BX [0000]0528: 53 ;PUSH BX [0000]0529: E8 E0 03 ;CALL _InByte [0000]052C: 81 E3 01 00 ;AND BX,1 [0000]0530: 8B E5 ;MOV SP,BP [0000]0532: 5D ;POP BP [0000]0533: C3 ;RET; [0000]0534: 55 ;PUSH BP [0000]0535: 8B EC ;MOV BP,SP [0000]0537: 51 ;PUSH CX [0000]0538: 53 ;PUSH BX [0000]0539: 83 C4 FA ;ADD SP,0FFFAX [0000]053C: 8B 5E FC ;MOV BX,[BP-4] [0000]053F: 0B DB ;OR BX,BX [0000]0541: 75 70 ;JNZ X8 [0000]0543: 8B 5E FE ;MOV BX,[BP-2] [0000]0546: 81 FB 2C 01 ;CMP BX,012CX [0000]054A: 75 11 ;JNZ X9 [0000]054C: BB C0 0A ;MOV BX,0AC0X [0000]054F: E8 74 01 ;CALL _MM [0000]0552: BB 8C 00 ;MOV BX,08CX [0000]0555: 8B 4E FC ;MOV CX,[BP-4] [0000]0558: E8 84 01 ;CALL _WR4 [0000]055B: EB 09 ;JR X10 [0000]055D: BB 4C 00 ;MOV BX,04CX [0000]0560: 8B 4E FC ;MOV CX,[BP-4] [0000]0563: E8 79 01 ;CALL _WR4 [0000]0566: 8B 5E FE ;MOV BX,[BP-2] [0000]0569: 81 FB 58 02 ;CMP BX,0258X [0000]056D: 75 06 ;JNZ X11 [0000]056F: BB C0 0A ;MOV BX,0AC0X [0000]0572: E8 51 01 ;CALL _MM [0000]0575: 8B 5E FE ;MOV BX,[BP-2] [0000]0578: 81 FB B0 04 ;CMP BX,04B0X [0000]057C: 75 06 ;JNZ X12 [0000]057E: BB C0 88 ;MOV BX,088C0X [0000]0581: E8 42 01 ;CALL _MM [0000]0584: 8B 5E FE ;MOV BX,[BP-2] [0000]0587: 81 FB 60 09 ;CMP BX,0960X [0000]058B: 75 06 ;JNZ X13 [0000]058D: BB C0 84 ;MOV BX,084C0X [0000]0590: E8 33 01 ;CALL _MM [0000]0593: 8B 5E FE ;MOV BX,[BP-2] [0000]0596: 81 FB C0 12 ;CMP BX,012C0X [0000]059A: 75 06 ;JNZ X14 [0000]059C: BB C0 82 ;MOV BX,082C0X [0000]059F: E8 24 01 ;CALL _MM [0000]05A2: 8B 5E FE ;MOV BX,[BP-2] [0000]05A5: 81 FB 80 25 ;CMP BX,02580X [0000]05A9: 75 06 ;JNZ X15 [0000]05AB: BB 00 8A ;MOV BX,08A00X [0000]05AE: E8 15 01 ;CALL _MM [0000]05B1: EB 03 ;JR $+5 [0000]05B3: E9 0F 00 ;JMP X17 [0000]05B6: 8B 5E FE ;MOV BX,[BP-2] [0000]05B9: 81 FB 00 4B ;CMP BX,04B00X [0000]05BD: 75 06 ;JNZ X16 [0000]05BF: BB 00 85 ;MOV BX,08500X [0000]05C2: E8 01 01 ;CALL _MM [0000]05C5: 8B 5E FC ;MOV BX,[BP-4] [0000]05C8: 83 FB 01 ;CMP BX,1 [0000]05CB: 75 70 ;JNZ X18 [0000]05CD: BB 4C 00 ;MOV BX,04CX [0000]05D0: 8B 4E FC ;MOV CX,[BP-4] [0000]05D3: E8 09 01 ;CALL _WR4 [0000]05D6: 8B 46 FE ;MOV AX,[BP-2] [0000]05D9: BB 64 00 ;MOV BX,064X [0000]05DC: 99 ;CWD [0000]05DD: F7 FB ;IDIV AX,BX [0000]05DF: 89 46 FE ;MOV [BP-2],AX [0000]05E2: B8 C0 03 ;MOV AX,03C0X [0000]05E5: 8B 5E FE ;MOV BX,[BP-2] [0000]05E8: 99 ;CWD [0000]05E9: F7 FB ;IDIV AX,BX [0000]05EB: 89 46 FA ;MOV [BP-6],AX [0000]05EE: 8B 5E FA ;MOV BX,[BP-6] [0000]05F1: D1 FB ;SAR BX [0000]05F3: 5A ;POP DX [0000]05F4: 53 ;PUSH BX [0000]05F5: 5B ;POP BX [0000]05F6: 53 ;PUSH BX [0000]05F7: 8B 4E FA ;MOV CX,[BP-6] [0000]05FA: 2B CB ;SUB CX,BX [0000]05FC: 89 4E F8 ;MOV [BP-8],CX [0000]05FF: BB C8 00 ;MOV BX,0C8X [0000]0602: B9 60 00 ;MOV CX,060X [0000]0605: E8 FE 02 ;CALL _OutByte [0000]0608: BB 04 00 ;MOV BX,4 [0000]060B: B9 60 00 ;MOV CX,060X [0000]060E: E8 F5 02 ;CALL _OutByte [0000]0611: BB 62 1B ;MOV BX,01B62X [0000]0614: B9 62 00 ;MOV CX,062X [0000]0617: E8 EC 00 ;CALL _OutWord [0000]061A: 8B 5E F8 ;MOV BX,[BP-8] [0000]061D: B9 62 00 ;MOV CX,062X [0000]0620: E8 E3 00 ;CALL _OutWord [0000]0623: 5B ;POP BX [0000]0624: 53 ;PUSH BX [0000]0625: B9 62 00 ;MOV CX,062X [0000]0628: E8 DB 00 ;CALL _OutWord [0000]062B: BB 48 00 ;MOV BX,048X [0000]062E: B9 60 00 ;MOV CX,060X [0000]0631: E8 D2 02 ;CALL _OutByte [0000]0634: BB 28 00 ;MOV BX,028X [0000]0637: B9 60 00 ;MOV CX,060X [0000]063A: E8 C9 02 ;CALL _OutByte [0000]063D: 8B E5 ;MOV SP,BP [0000]063F: 5D ;POP BP [0000]0640: C3 ;RET; [0000]0641: 55 ;PUSH BP [0000]0642: 8B EC ;MOV BP,SP [0000]0644: 53 ;PUSH BX [0000]0645: 5B ;POP BX [0000]0646: 53 ;PUSH BX [0000]0647: E8 44 00 ;CALL _SIOCmdP [0000]064A: 5A ;POP DX [0000]064B: 53 ;PUSH BX [0000]064C: 5B ;POP BX [0000]064D: 53 ;PUSH BX [0000]064E: E8 BB 02 ;CALL _InByte [0000]0651: 81 E3 04 00 ;AND BX,4 [0000]0655: 8B E5 ;MOV SP,BP [0000]0657: 5D ;POP BP [0000]0658: C3 ;RET; [0000]0659: 55 ;PUSH BP [0000]065A: 8B EC ;MOV BP,SP [0000]065C: 53 ;PUSH BX [0000]065D: 5B ;POP BX [0000]065E: 53 ;PUSH BX [0000]065F: E8 48 00 ;CALL _SIODataP [0000]0662: 5A ;POP DX [0000]0663: 53 ;PUSH BX [0000]0664: 5B ;POP BX [0000]0665: 53 ;PUSH BX [0000]0666: E8 A3 02 ;CALL _InByte [0000]0669: 81 E3 7F 00 ;AND BX,07FX [0000]066D: 8B E5 ;MOV SP,BP [0000]066F: 5D ;POP BP [0000]0670: C3 ;RET; [0000]0671: 55 ;PUSH BP [0000]0672: 8B EC ;MOV BP,SP [0000]0674: 51 ;PUSH CX [0000]0675: 53 ;PUSH BX [0000]0676: 8B 5E FE ;MOV BX,[BP-2] [0000]0679: E8 2E 00 ;CALL _SIODataP [0000]067C: 89 5E FE ;MOV [BP-2],BX [0000]067F: 58 ;POP AX [0000]0680: 50 ;PUSH AX [0000]0681: 98 ;CBW [0000]0682: 8B D8 ;MOV BX,AX [0000]0684: 8B 4E FE ;MOV CX,[BP-2] [0000]0687: E8 7C 02 ;CALL _OutByte [0000]068A: 8B E5 ;MOV SP,BP [0000]068C: 5D ;POP BP [0000]068D: C3 ;RET; [0000]068E: 55 ;PUSH BP [0000]068F: 8B EC ;MOV BP,SP [0000]0691: 53 ;PUSH BX [0000]0692: 5B ;POP BX [0000]0693: 53 ;PUSH BX [0000]0694: 0B DB ;OR BX,BX [0000]0696: 75 07 ;JNZ X19 [0000]0698: C7 46 FE 32 00 ;MOV WORD PTR [BP-2],032X [0000]069D: EB 05 ;JR X20 [0000]069F: C7 46 FE 30 00 ;MOV WORD PTR [BP-2],030X [0000]06A4: 5B ;POP BX [0000]06A5: 53 ;PUSH BX [0000]06A6: 8B E5 ;MOV SP,BP [0000]06A8: 5D ;POP BP [0000]06A9: C3 ;RET; [0000]06AA: 55 ;PUSH BP [0000]06AB: 8B EC ;MOV BP,SP [0000]06AD: 53 ;PUSH BX [0000]06AE: 5B ;POP BX [0000]06AF: 53 ;PUSH BX [0000]06B0: 0B DB ;OR BX,BX [0000]06B2: 75 07 ;JNZ X21 [0000]06B4: C7 46 FE 36 00 ;MOV WORD PTR [BP-2],036X [0000]06B9: EB 05 ;JR X22 [0000]06BB: C7 46 FE 34 00 ;MOV WORD PTR [BP-2],034X [0000]06C0: 5B ;POP BX [0000]06C1: 53 ;PUSH BX [0000]06C2: 8B E5 ;MOV SP,BP [0000]06C4: 5D ;POP BP [0000]06C5: C3 ;RET; [0000]06C6: 55 ;PUSH BP [0000]06C7: 8B EC ;MOV BP,SP [0000]06C9: 53 ;PUSH BX [0000]06CA: BB 17 00 ;MOV BX,017X [0000]06CD: B9 60 00 ;MOV CX,060X [0000]06D0: E8 33 02 ;CALL _OutByte [0000]06D3: 5B ;POP BX [0000]06D4: 53 ;PUSH BX [0000]06D5: B9 62 00 ;MOV CX,062X [0000]06D8: E8 2B 00 ;CALL _OutWord [0000]06DB: 8B E5 ;MOV SP,BP [0000]06DD: 5D ;POP BP [0000]06DE: C3 ;RET; [0000]06DF: 55 ;PUSH BP [0000]06E0: 8B EC ;MOV BP,SP [0000]06E2: 51 ;PUSH CX [0000]06E3: 53 ;PUSH BX [0000]06E4: 8B 5E FE ;MOV BX,[BP-2] [0000]06E7: E8 A4 FF ;CALL _SIOCmdP [0000]06EA: 89 5E FE ;MOV [BP-2],BX [0000]06ED: BB 04 00 ;MOV BX,4 [0000]06F0: 8B 4E FE ;MOV CX,[BP-2] [0000]06F3: E8 10 02 ;CALL _OutByte [0000]06F6: 5B ;POP BX [0000]06F7: 53 ;PUSH BX [0000]06F8: 81 E3 FF 00 ;AND BX,0FFX [0000]06FC: 8B 4E FE ;MOV CX,[BP-2] [0000]06FF: E8 04 02 ;CALL _OutByte [0000]0702: 8B E5 ;MOV SP,BP [0000]0704: 5D ;POP BP [0000]0705: C3 ;RET; [0000]0706: 55 ;PUSH BP [0000]0707: 8B EC ;MOV BP,SP [0000]0709: 51 ;PUSH CX [0000]070A: 53 ;PUSH BX [0000]070B: 5B ;POP BX [0000]070C: 53 ;PUSH BX [0000]070D: 81 E3 FF 00 ;AND BX,0FFX [0000]0711: 8B 4E FE ;MOV CX,[BP-2] [0000]0714: E8 EF 01 ;CALL _OutByte [0000]0717: B9 08 00 ;MOV CX,8 [0000]071A: 5B ;POP BX [0000]071B: 53 ;PUSH BX [0000]071C: D3 EB ;SHR BX,CX [0000]071E: 81 E3 FF 00 ;AND BX,0FFX [0000]0722: 8B 4E FE ;MOV CX,[BP-2] [0000]0725: E8 DE 01 ;CALL _OutByte [0000]0728: 8B E5 ;MOV SP,BP [0000]072A: 5D ;POP BP [0000]072B: C3 ;RET; [0000]072C: ;File Runtimeml.dsm ;C_DATA ENDS [0000]072C: 55 ; PUSH BP [0000]072D: 8B EC ; MOV BP,SP [0000]072F: 8B 7E 04 ; MOV DI,[BP+4] ; get dest [0000]0732: 8B F1 ; MOV SI,CX ; get source [0000]0734: 8B CB ; MOV CX,BX ; move count to CX [0000]0736: FC ; CLD [0000]0737: F3 A5 ; REP MOVSW [0000]0739: 5D ; POP BP [0000]073A: C3 ; RET [0000]073B: 55 ; PUSH BP [0000]073C: 8B EC ; MOV BP, SP [0000]073E: 8B 46 06 ; MOV AX,[BP+6] ; get Swab [0000]0741: 0B C0 ; OR AX, AX [0000]0743: 74 EA ; JZ _MoveBl ; no Swab, just a MoveBlock() [0000]0745: 8B 7E 04 ; MOV DI,[BP+4] ; dest [0000]0748: 8B F1 ; MOV SI,CX ; source [0000]074A: 8B CB ; MOV CX,BX ; count to loop counter [0000]074C: FC ; CLD [0000]074D: AD ; LODSW [0000]074E: 86 E0 ; XCHG AH, AL ; swap bytes [0000]0750: AB ; STOSW [0000]0751: E2 FA ; LOOP _mlp ; zowee. [0000]0753: 5D ; POP BP [0000]0754: C3 ; RET [0000]0755: 55 ; PUSH BP [0000]0756: 8B EC ; MOV BP,SP [0000]0758: 8B 7E 04 ; MOV DI,[BP+4] ; get dest [0000]075B: 8B F1 ; MOV SI,CX ; get source [0000]075D: 8B CB ; MOV CX,BX ; move count to CX [0000]075F: FC ; CLD [0000]0760: F3 A4 ; REP MOVSB [0000]0762: 5D ; POP BP [0000]0763: C3 ; RET [0000]0764: 55 ; PUSH BP [0000]0765: 8B EC ; MOV BP,SP [0000]0767: 8B 7E 04 ; MOV DI,[BP+4] ; get dest [0000]076A: 8B C3 ; MOV AX,BX ; move value to AX [0000]076C: FC ; CLD [0000]076D: F3 AB ; REP STOSW [0000]076F: 5D ; POP BP [0000]0770: C3 ; RET [0000]0771: 55 ; PUSH BP [0000]0772: 8B EC ; MOV BP,SP [0000]0774: 8B F9 ; MOV DI,CX ; get dest [0000]0776: 8B CB ; MOV CX,BX ; get length to CX [0000]0778: 33 C0 ; XOR AX,AX ; move value to AX [0000]077A: FC ; CLD [0000]077B: F3 AB ; REP STOSW [0000]077D: 5D ; POP BP [0000]077E: C3 ; RET [0000]077F: 55 ; PUSH BP [0000]0780: 8B EC ; MOV BP,SP [0000]0782: 8B F9 ; MOV DI,CX ; get dest [0000]0784: 8B 07 ; MOV AX,[BX] [0000]0786: 89 05 ; MOV [DI],AX [0000]0788: 8B 47 02 ; MOV AX,[BX+2] [0000]078B: 89 45 02 ; MOV [DI+2],AX [0000]078E: 5D ; POP BP [0000]078F: C3 ; RET [0000]0790: 55 ; PUSH BP [0000]0791: 8B EC ; MOV BP,SP [0000]0793: 3B D9 ; CMP BX,CX [0000]0795: 7E 02 ; JLE minok [0000]0797: 8B D9 ; MOV BX,CX [0000]0799: 5D ; POP BP [0000]079A: C3 ; RET [0000]079B: 55 ; PUSH BP [0000]079C: 8B EC ; MOV BP,SP [0000]079E: 3B D9 ; CMP BX,CX [0000]07A0: 7D 02 ; JGE maxok [0000]07A2: 8B D9 ; MOV BX,CX [0000]07A4: 5D ; POP BP [0000]07A5: C3 ; RET [0000]07A6: 55 ; PUSH BP [0000]07A7: 8B EC ; MOV BP,SP [0000]07A9: 3B D9 ; CMP BX,CX [0000]07AB: 73 02 ; JAE umaxok [0000]07AD: 8B D9 ; MOV BX,CX [0000]07AF: 5D ; POP BP [0000]07B0: C3 ; RET [0000]07B1: 55 ; PUSH BP [0000]07B2: 8B EC ; MOV BP,SP [0000]07B4: 3B CB ; CMP CX,BX [0000]07B6: 74 0E ; JE usceq [0000]07B8: 77 06 ; JA uscgr [0000]07BA: BB FF FF ; MOV BX,-1 [0000]07BD: E9 08 00 ; JMP uscret [0000]07C0: BB 01 00 ; MOV BX,1 [0000]07C3: E9 02 00 ; JMP uscret [0000]07C6: 33 DB ; XOR BX,BX [0000]07C8: 5D ; POP BP [0000]07C9: C3 ; RET [0000]07CA: 55 ; PUSH BP [0000]07CB: 8B EC ; MOV BP,SP [0000]07CD: 8B F1 ; MOV SI,CX ; SI _ px, BX has y [0000]07CF: 01 1C ; ADD [SI],BX [0000]07D1: 83 54 02 00 ; ADC [SI+2],0 [0000]07D5: 8B 1C ; MOV BX,[SI] ; return ls word [0000]07D7: 5D ; POP BP [0000]07D8: C3 ; RET [0000]07D9: 55 ; PUSH BP [0000]07DA: 8B EC ; MOV BP,SP [0000]07DC: 8B F1 ; MOV SI,CX ; SI _ px, BX has py [0000]07DE: 8B 07 ; MOV AX,[BX] ; CX,,AX _ y [0000]07E0: 8B 4F 02 ; MOV CX,[BX+2] [0000]07E3: 29 04 ; SUB [SI],AX ; subtract to memory [0000]07E5: 19 4C 02 ; SBB [SI+2],CX [0000]07E8: 8B 1C ; MOV BX,[SI] ; return ls word [0000]07EA: 5D ; POP BP [0000]07EB: C3 ; RET [0000]07EC: 55 ; PUSH BP [0000]07ED: 8B EC ; MOV BP,SP [0000]07EF: 8B F1 ; MOV SI,CX ; SI _ px, BX has y [0000]07F1: 8B 04 ; MOV AX,[SI] ; CX,,AX _ x [0000]07F3: 8B 4C 02 ; MOV CX,[SI+2] [0000]07F6: 86 E0 ; XCHG AH,AL ; convert x to long int [0000]07F8: 86 E9 ; XCHG CH,CL [0000]07FA: 03 C3 ; ADD AX,BX [0000]07FC: 83 D1 00 ; ADC CX,0 [0000]07FF: 8B D8 ; MOV BX,AX ; return the ls word [0000]0801: 86 E0 ; XCHG AH,AL ; convert x to long num [0000]0803: 86 E9 ; XCHG CH,CL [0000]0805: 89 04 ; MOV [SI],AX ; x _ CX,,AX [0000]0807: 89 4C 02 ; MOV [SI+2],CX [0000]080A: 5D ; POP BP [0000]080B: C3 ; RET [0000]080C: 55 ; PUSH BP [0000]080D: 8B EC ; MOV BP,SP [0000]080F: 8B F1 ; MOV SI,CX ; SI _ px [0000]0811: 8B FB ; MOV DI,BX ; DI _ py [0000]0813: 8B 04 ; MOV AX,[SI] ; BX,,AX _ x [0000]0815: 8B 5C 02 ; MOV BX,[SI+2] [0000]0818: 86 E0 ; XCHG AH,AL ; convert x to long int [0000]081A: 86 FB ; XCHG BH,BL [0000]081C: 8B 0D ; MOV CX,[DI] ; DX,,CX _ y [0000]081E: 8B 55 02 ; MOV DX,[DI+2] [0000]0821: 86 E9 ; XCHG CH,CL ; convert y to long int [0000]0823: 86 F2 ; XCHG DH,DL [0000]0825: 2B C1 ; SUB AX,CX [0000]0827: 1B DA ; SBB BX,DX [0000]0829: 86 FB ; XCHG BH,BL [0000]082B: 89 5C 02 ; MOV [SI+2],BX [0000]082E: 8B D8 ; MOV BX,AX ; save ls word [0000]0830: 86 E0 ; XCHG AH,AL [0000]0832: 89 04 ; MOV [SI],AX [0000]0834: 5D ; POP BP [0000]0835: C3 ; RET [0000]0836: 55 ; PUSH BP [0000]0837: 8B EC ; MOV BP,SP [0000]0839: 8B F1 ; MOV SI,CX ; SI _ px [0000]083B: 8B 04 ; MOV AX,[SI] [0000]083D: 3B 07 ; CMP AX,[BX] [0000]083F: 75 0D ; JNE deqfail [0000]0841: 8B 44 02 ; MOV AX,[SI+2] [0000]0844: 3B 47 02 ; CMP AX,[BX+2] [0000]0847: 75 05 ; JNE deqfail [0000]0849: BB FF FF ; MOV BX,-1 [0000]084C: 5D ; POP BP [0000]084D: C3 ; RET [0000]084E: 33 DB ; XOR BX,BX [0000]0850: 5D ; POP BP [0000]0851: C3 ; RET [0000]0852: 55 ; PUSH BP [0000]0853: 8B EC ; MOV BP,SP [0000]0855: 8B 76 04 ; MOV SI,[BP+4] ; SI _ px [0000]0858: 8B F9 ; MOV DI,CX ; DI _ py [0000]085A: 8B CB ; MOV CX,BX ; CX _ length [0000]085C: FC ; CLD [0000]085D: F3 A7 ; REPE CMPSW [0000]085F: 75 05 ; JNE meqfail [0000]0861: BB FF FF ; MOV BX,-1 [0000]0864: 5D ; POP BP [0000]0865: C3 ; RET [0000]0866: 33 DB ; XOR BX,BX [0000]0868: 5D ; POP BP [0000]0869: C3 ; RET [0000]086A: 8B DD ; MOV BX,BP [0000]086C: C3 ; RET [0000]086D: 8B 1F ; MOV BX,[BX] [0000]086F: C3 ; RET [0000]0870: 8B E3 ; MOV SP,BX [0000]0872: 5D ; POP BP [0000]0873: C3 ; RET [0000]0874: 8B 5F 02 ; MOV BX,[BX+2] [0000]0877: C3 ; RET [0000]0878: 5D ; POP BP ; pop garbage return address [0000]0879: 5D ; POP BP ; set up tofr [0000]087A: 58 ; POP AX ; get frfr [0000]087B: 05 04 00 ; ADD AX,4 ; pop 'tofr' and 'topc' [0000]087E: 8B E0 ; MOV SP,AX ; restore SP to the [0000]0880: FF E1 ; JMP CX ; resume execution [0000]0882: 0B DB ; OR BX,BX [0000]0884: 74 02 ; JZ dontCall [0000]0886: FF E3 ; JMP BX [0000]0888: C3 ; RET [0000]0889: 0B C9 ; OR CX,CX [0000]088B: 74 FB ; JZ dontCall [0000]088D: FF E1 ; JMP CX [0000]088F: 8B F4 ; MOV SI,SP [0000]0891: 8B 44 04 ; MOV AX,[SI+4] ; get proc, don't disturb stack [0000]0894: 0B C0 ; OR AX,AX [0000]0896: 74 F0 ; JZ dontCall [0000]0898: FF E0 ; JMP AX [0000]089A: 55 ; PUSH BP [0000]089B: 8B EC ; MOV BP,SP [0000]089D: FC ; CLD [0000]089E: 8B 76 04 ; MOV SI,[BP+4] ; get argv [0000]08A1: 8B F9 ; MOV DI,CX ; save proc [0000]08A3: 8B CB ; MOV CX,BX ; put nargs in CX [0000]08A5: 0B C9 ; OR CX,CX [0000]08A7: 74 10 ; JZ noargs [0000]08A9: 49 ; DEC CX [0000]08AA: 74 0A ; JZ onearg [0000]08AC: 49 ; DEC CX [0000]08AD: 74 04 ; JZ twoarg [0000]08AF: AD ; LODSW ; get argv[i] into AX [0000]08B0: 50 ; PUSH AX [0000]08B1: E2 FC ; LOOP apple [0000]08B3: AD ; LODSW ; get argv[n-2] [0000]08B4: 8B C8 ; MOV CX,AX [0000]08B6: AD ; LODSW [0000]08B7: 8B D8 ; MOV BX,AX [0000]08B9: FF D7 ; CALL DI ; go to called procedure [0000]08BB: 8B E5 ; MOV SP,BP [0000]08BD: 5D ; POP BP [0000]08BE: C3 ; RET [0000]08BF: 3B CB ; CMP CX,BX [0000]08C1: 77 03 ; JA ugtt [0000]08C3: 33 DB ; XOR BX,BX [0000]08C5: C3 ; RET [0000]08C6: BB 01 00 ; MOV BX,1 [0000]08C9: C3 ; RET [0000]08CA: 8B C1 ; MOV AX,CX [0000]08CC: 33 D2 ; XOR DX,DX [0000]08CE: F7 F3 ; DIV BX [0000]08D0: 89 16 98 09 ; MOV _remainder,DX [0000]08D4: 8B D8 ; MOV BX,AX [0000]08D6: C3 ; RET [0000]08D7: 8B F1 ; MOV SI,CX [0000]08D9: 8B 04 ; MOV AX,[SI] [0000]08DB: 8B 54 02 ; MOV DX,[2+SI] [0000]08DE: F7 F3 ; DIV BX [0000]08E0: 89 16 98 09 ; MOV _remainder,DX [0000]08E4: 8B D8 ; MOV BX,AX [0000]08E6: C3 ; RET [0000]08E7: 8B C1 ; MOV AX,CX [0000]08E9: 33 D2 ; XOR DX,DX [0000]08EB: F7 F3 ; DIV BX [0000]08ED: 89 16 98 09 ; MOV _remainder,DX [0000]08F1: 8B DA ; MOV BX,DX [0000]08F3: C3 ; RET [0000]08F4: 8B 1F ; MOV BX,[BX] [0000]08F6: 8B C3 ; MOV AX,BX [0000]08F8: C3 ; RET [0000]08F9: 89 0F ; MOV [BX],CX [0000]08FB: C3 ; RET [0000]08FC: 8A 1F ; MOV BL,[BX] [0000]08FE: 32 FF ; XOR BH,BH [0000]0900: 8B C3 ; MOV AX,BX [0000]0902: C3 ; RET [0000]0903: 88 0F ; MOV [BX],CL [0000]0905: C3 ; RET [0000]0906: 8B D1 ; MOV DX,CX [0000]0908: 8A C3 ; MOV AL,BL [0000]090A: EE ; OUT DX,AL [0000]090B: C3 ; RET [0000]090C: 8B D3 ; MOV DX,BX [0000]090E: EC ; IN AL,DX [0000]090F: 8A D8 ; MOV BL,AL [0000]0911: C3 ; RET [0000]0912: 32 E4 ; XOR AH,AH [0000]0914: FC ; CLD [0000]0915: 8B F3 ; MOV SI,BX [0000]0917: AC ; LODSB [0000]0918: 3C FF ; CMP AL,0FFH [0000]091A: 75 01 ; JNE X17 [0000]091C: C3 ; RET [0000]091D: 8B D0 ; MOV DX,AX [0000]091F: AC ; LODSB [0000]0920: 8B C8 ; MOV CX,AX [0000]0922: AC ; LODSB [0000]0923: EE ; OUT DX,AL [0000]0924: E2 FC ; LOOP X18 [0000]0926: EB EF ; JMP X16 [0000]0928: 86 FB ; XCHG BH,BL [0000]092A: C3 ; RET [0000]092B: A1 94 09 ; MOV AX,_wdc [0000]092E: 0B C0 ; OR AX,AX [0000]0930: 79 06 ; JNS iwok [0000]0932: BB 03 80 ; MOV BX,08003H [0000]0935: E8 4D 00 ; CALL _CallDebugger [0000]0938: FF 06 94 09 ; INC _wdc [0000]093C: FA ; CLI [0000]093D: C3 ; RET [0000]093E: FF 0E 94 09 ; DEC _wdc [0000]0942: A1 94 09 ; MOV AX,_wdc [0000]0945: 0B C0 ; OR AX,AX [0000]0947: 79 08 ; JNS dwok [0000]0949: BB 03 80 ; MOV BX,08003H [0000]094C: E8 36 00 ; CALL _CallDebugger [0000]094F: 0B C0 ; OR AX,AX [0000]0951: 75 01 ; JNZ dwdcr [0000]0953: FB ; STI [0000]0954: C3 ; RET [0000]0955: BE 1E DA ; MOV SI,clklo [0000]0958: 8B 1C ; MOV BX,[SI] [0000]095A: C3 ; RET [0000]095B: BE 1E DA ; MOV SI,clklo [0000]095E: 03 0C ; ADD CX,[SI] [0000]0960: 89 0F ; MOV WORD PTR [BX],CX [0000]0962: C3 ; RET [0000]0963: 8B 07 ; MOV AX,WORD PTR [BX] [0000]0965: 33 DB ; XOR BX,BX [0000]0967: BE 1E DA ; MOV SI,clklo [0000]096A: 3B 04 ; CMP AX,[SI] ; expired will leave sign bit set [0000]096C: 78 01 ; JS teret [0000]096E: C3 ; RET [0000]096F: 43 ; INC BX [0000]0970: C3 ; RET [0000]0971: 3B 26 96 09 ; CMP SP,_stackLimit [0000]0975: 76 01 ; JBE stackov [0000]0977: C3 ; RET [0000]0978: 55 ; PUSH BP [0000]0979: 8B EC ; MOV BP,SP [0000]097B: BB 04 80 ; MOV BX,08004H ; allocator class error [0000]097E: E8 04 00 ; CALL _CallDebugger [0000]0981: 8B E5 ; MOV SP,BP [0000]0983: 5D ; POP BP [0000]0984: C3 ; RET [0000]0985: 55 ; PUSH BP [0000]0986: 8B EC ; MOV BP,SP [0000]0988: CD 05 ; INT 5 [0000]098A: 5D ; POP BP [0000]098B: C3 ; RET [0000]098C: ;SEGMENT C_DATA.DEFAULT_CLASS ;File cstartml.dsm ;C_DATA SEGMENT [0000]0990: 00 00 ;JHUNK DW 00H [0000]0992: FF FF ; DW 0FFFFH [0000]0994: ;File echo.asm ;Alto->8086 small-c compiler rev 2.0 ;Start Repeated Block, Count = 1 [0000]0994: 00 00 ;End Repeated Block ;l-c compiler rev 2.0 [0000]0996: ;Start Repeated Block, Count = 1 [0000]0996: 00 00 ;End Repeated Block ;.0 [0000]0998: ;Start Repeated Block, Count = 1 [0000]0998: 00 00 ;End Repeated Block ;DE(8086LIB.D) [0000]099A: