| Index | Manual | Download | Source | Macros | Embedded word Case ins.
Sitemap | Links | Forum | Tests | Projects

# Test t3301: Machine instructions Jcc in 16bit mode

Description
  Conditional jumps
Tested procedures
  IigJO

Source & expected listing t3301.htm.lst
  `| | EUROASM LIST=ON, DUMP=ON, DUMPWIDTH=38, CPU=086 | |t3301 PROGRAM FORMAT=BIN, LISTMAP=OFF, LISTGLOBALS=OFF |[Mode16] |[Mode16] SEGMENT WIDTH=16,PURPOSE=CODE |0000:7079 | JO ShortLabel: |0002:7103E97400 | JO ShortLabel:,DIST=NEAR |0007:7105EA[7B00]{0000} | JO ShortLabel:,DIST=FAR |000E:7103E90E01 | JO NearLabel: |0013:710666E906010000 | JO NearLabel:,DATA=DWORD |001B:710666E9FE000000 | JO NearLabel:,IMM=DWORD |0023:7103E9(0000) | JO FarLabel: |0028:710666E9(00000000) | JO FarLabel:,DATA=DWORD |0030:710666E9(00000000) | JO FarLabel:,IMM=DWORD |0038:7103E9(0000) | JO ExternLabel: ; E7734 expected due to unresolved ExternLabel. |003D:710666E9(00000000) | JO ExternLabel:,DATA=DWORD |0045:710666E9(00000000) | JO ExternLabel:,IMM=DWORD |004D:7103E9(7700) | JO 0x77 |0052:7103E9(8877) | JO 0x7788 |0057:710666E9(99887700) | JO 0x778899 |005F:7103E97BFF | JO $-128 |0064:7103E97CFF | JO $-127 |0069:7080 | JO $-126 |006B:7081 | JO $-125 |006D:707E | JO $+128 |006F:707F | JO $+129 |0071:7103E97D00 | JO $+130 |0076:7103E97E00 | JO $+131 |007B: |ShortLabel: | | EUROASM CPU=386 |007B:70FE | JO ShortLabel: |007D:0F80FAFF | JO ShortLabel:,DIST=NEAR |0081:7105EA[7B00]{0000} | JO ShortLabel:,DIST=FAR |0088:0F809500 | JO NearLabel: |008C:660F808E000000 | JO NearLabel:,DATA=DWORD |0093:660F8087000000 | JO NearLabel:,IMM=DWORD |009A:0F80(0000) | JO FarLabel: |009E:660F80(00000000) | JO FarLabel:,DATA=DWORD |00A5:660F80(00000000) | JO FarLabel:,IMM=DWORD |00AC:0F80(0000) | JO ExternLabel: |00B0:660F80(00000000) | JO ExternLabel:,DATA=DWORD |00B7:660F80(00000000) | JO ExternLabel:,IMM=DWORD |00BE:0F80(7700) | JO 0x77 |00C2:0F80(8877) | JO 0x7788 |00C6:660F80(99887700) | JO 0x778899 |00CD:0F807CFF | JO $-128 |00D1:0F807DFF | JO $-127 |00D5:7080 | JO $-126 |00D7:7081 | JO $-125 |00D9:707E | JO $+128 |00DB:707F | JO $+129 |00DD:0F807E00 | JO $+130 |00E1:0F807F00 | JO $+131 |00E5:7000 | JO $+2 |00E7:7100 | JNO $+2 |00E9:7200 | JB $+2 |00EB:7200 | JC $+2 |00ED:7200 | JNAE $+2 |00EF:7300 | JAE $+2 |00F1:7300 | JNB $+2 |00F3:7300 | JNC $+2 |00F5:7400 | JE $+2 |00F7:7400 | JZ $+2 |00F9:7500 | JNE $+2 |00FB:7500 | JNZ $+2 |00FD:7600 | JBE $+2 |00FF:7600 | JNA $+2 |0101:7700 | JA $+2 |0103:7700 | JNBE $+2 |0105:7800 | JS $+2 |0107:7900 | JNS $+2 |0109:7A00 | JP $+2 |010B:7A00 | JPE $+2 |010D:7B00 | JNP $+2 |010F:7B00 | JPO $+2 |0111:7C00 | JL $+2 |0113:7C00 | JNGE $+2 |0115:7D00 | JGE $+2 |0117:7D00 | JNL $+2 |0119:7E00 | JLE $+2 |011B:7E00 | JNG $+2 |011D:7F00 | JG $+2 |011F:7F00 | JNLE $+2 |0121: |NearLabel: |[FarSeg] |[FarSeg] SEGMENT WIDTH=16,PURPOSE=CODE |0000: |FarLabel: | |ExternLabel: EXTERN ; E6961 expected, as nothing is linked to this program. | |ENDPROGRAM t3301 |### E6961 Unresolved external/imported symbol "ExternLabel". |### E7734 Relative relocation at [Mode16]:0000003B is not resolvable in this program format. |### E7734 Relative relocation at [Mode16]:00000041 is not resolvable in this program format. |### E7734 Relative relocation at [Mode16]:00000049 is not resolvable in this program format. |### E7734 Relative relocation at [Mode16]:000000AE is not resolvable in this program format. |### E7734 Relative relocation at [Mode16]:000000B3 is not resolvable in this program format. |### E7734 Relative relocation at [Mode16]:000000BA is not resolvable in this program format.`

Expected messages t3301.out
  `I0180 Assembling source file "t3301.htm". I0270 Assembling source "t3301". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t3301". "t3301.htm"{52} I0510 Assembling program pass 1. "t3301.htm"{52} I0510 Assembling program pass 2. "t3301.htm"{52} I0510 Assembling program pass 3. "t3301.htm"{52} I0530 Assembling program pass 4 - final. "t3301.htm"{52} I0623 Jcc out of byte range; assembled with proxy jump. "t3301.htm"{55} I0623 Jcc out of byte range; assembled with proxy jump. "t3301.htm"{56} I0623 Jcc out of byte range; assembled with proxy jump. "t3301.htm"{57} I0623 Jcc out of byte range; assembled with proxy jump. "t3301.htm"{58} I0623 Jcc out of byte range; assembled with proxy jump. "t3301.htm"{59} I0623 Jcc out of byte range; assembled with proxy jump. "t3301.htm"{60} I0623 Jcc out of byte range; assembled with proxy jump. "t3301.htm"{61} I0623 Jcc out of byte range; assembled with proxy jump. "t3301.htm"{62} I0623 Jcc out of byte range; assembled with proxy jump. "t3301.htm"{63} I0623 Jcc out of byte range; assembled with proxy jump. "t3301.htm"{64} I0623 Jcc out of byte range; assembled with proxy jump. "t3301.htm"{65} I0623 Jcc out of byte range; assembled with proxy jump. "t3301.htm"{66} I0623 Jcc out of byte range; assembled with proxy jump. "t3301.htm"{67} I0623 Jcc out of byte range; assembled with proxy jump. "t3301.htm"{68} I0623 Jcc out of byte range; assembled with proxy jump. "t3301.htm"{69} I0623 Jcc out of byte range; assembled with proxy jump. "t3301.htm"{70} I0623 Jcc out of byte range; assembled with proxy jump. "t3301.htm"{75} I0623 Jcc out of byte range; assembled with proxy jump. "t3301.htm"{76} I0623 Jcc out of byte range; assembled with proxy jump. "t3301.htm"{81} E6961 Unresolved external/imported symbol "ExternLabel". "t3301.htm"{136} E7734 Relative relocation at [Mode16]:0000003B is not resolvable in this program format. "t3301.htm"{136} E7734 Relative relocation at [Mode16]:00000041 is not resolvable in this program format. "t3301.htm"{136} E7734 Relative relocation at [Mode16]:00000049 is not resolvable in this program format. "t3301.htm"{136} E7734 Relative relocation at [Mode16]:000000AE is not resolvable in this program format. "t3301.htm"{136} E7734 Relative relocation at [Mode16]:000000B3 is not resolvable in this program format. "t3301.htm"{136} E7734 Relative relocation at [Mode16]:000000BA is not resolvable in this program format. "t3301.htm"{136} I0660 16bit TINY BIN file "t3301.bin" created, size=289. "t3301.htm"{136} I0650 Program "t3301" assembled in 4 passes with errorlevel 7. "t3301.htm"{136} I0750 Source "t3301" (212 lines) assembled in 2 passes with errorlevel 7. I0860 Listing file "t3301.htm.lst" created, size=5436. I0990 EuroAssembler terminated with errorlevel 7.`

Expected output file t3301. bin

      0000: 70 79 71 03 E9 74 00 71 05 EA 7B 00 00 00 71 03  pyq·¤t°q·¤{°°°q·
      0010: E9 0E 01 71 06 66 E9 06 01 00 00 71 06 66 E9 FE  ¤··q·f¤··°°q·f¤¤
      0020: 00 00 00 71 03 E9 08 01 71 06 66 E9 00 01 00 00  °°°q·¤··q·f¤°·°°
      0030: 71 06 66 E9 F8 00 00 00 71 03 E9 00 00 71 06 66  q·f¤¤°°°q·¤°°q·f
      0040: E9 00 00 00 00 71 06 66 E9 00 00 00 00 71 03 E9  ¤°°°°q·f¤°°°°q·¤
      0050: 25 00 71 03 E9 31 77 71 06 66 E9 3A 88 77 00 71  %°q·¤1wq·f¤:¤w°q
      0060: 03 E9 7B FF 71 03 E9 7C FF 70 80 70 81 70 7E 70  ·¤{¤q·¤|¤p¤p¤p~p
      0070: 7F 71 03 E9 7D 00 71 03 E9 7E 00 70 FE 0F 80 FA  ¤q·¤}°q·¤~°p¤·¤¤
      0080: FF 71 05 EA 7B 00 00 00 0F 80 95 00 66 0F 80 8E  ¤q·¤{°°°·¤¤°f·¤¤
      0090: 00 00 00 66 0F 80 87 00 00 00 0F 80 92 00 66 0F  °°°f·¤¤°°°·¤¤°f·
      00A0: 80 8B 00 00 00 66 0F 80 84 00 00 00 0F 80 00 00  ¤¤°°°f·¤¤°°°·¤°°
      00B0: 66 0F 80 00 00 00 00 66 0F 80 00 00 00 00 0F 80  f·¤°°°°f·¤°°°°·¤
      00C0: B5 FF 0F 80 C2 76 66 0F 80 CC 87 77 00 0F 80 7C  ¤¤·¤¤vf·¤¤¤w°·¤|
      00D0: FF 0F 80 7D FF 70 80 70 81 70 7E 70 7F 0F 80 7E  ¤·¤}¤p¤p¤p~p¤·¤~
      00E0: 00 0F 80 7F 00 70 00 71 00 72 00 72 00 72 00 73  °·¤¤°p°q°r°r°r°s
      00F0: 00 73 00 73 00 74 00 74 00 75 00 75 00 76 00 76  °s°s°t°t°u°u°v°v
      0100: 00 77 00 77 00 78 00 79 00 7A 00 7A 00 7B 00 7B  °w°w°x°y°z°z°{°{
      0110: 00 7C 00 7C 00 7D 00 7D 00 7E 00 7E 00 7F 00 7F  °|°|°}°}°~°~°¤°¤
      0120: 00                                               °

▲Back to the top▲