Metropoli BBS
VIEWER: cpuid3.dif MODE: TEXT (ASCII)
When assembled with MASM 5.1 CPUID3.ASM gives seven severe errors, as follows:

Microsoft (R) Macro Assembler Version 5.10
Copyright (C) Microsoft Corp 1981, 1988.  All rights reserved.

g:cpuid3.asm(180): error A2053: Jump out of range by 53 byte(s)
g:cpuid3.asm(194): error A2053: Jump out of range by 35 byte(s)
g:cpuid3.asm(383): error A2053: Jump out of range by 17 byte(s)
g:cpuid3.asm(396): error A2053: Jump out of range by 157 byte(s)
g:cpuid3.asm(409): error A2053: Jump out of range by 126 byte(s)
g:cpuid3.asm(422): error A2053: Jump out of range by 95 byte(s)
g:cpuid3.asm(454): error A2053: Jump out of range by 27 byte(s)

  49636 + 363112 Bytes symbol space free

      0 Warning Errors
      7 Severe  Errors


Following is a summary of the changes made to CPUID3.ASM by Wayne A. King to
create CPUID3WK.ASM, eliminating these errors.

FC version 2.6 - Copyright (c) 1991 Mike Albert        Mon May 24 11:49:21 1993
Options are: -c1 -ds5 -t8 

Compare files:
   cpuid3.asm        19901   4-27-93  11:18p
   cpuid3wk.asm      20696   5-24-93  11:45a

Inserted after line 34
  >;       Date:  5/24/93
  >;       Modified by Wayne A. King, CIS: 70022,2700  CRS: WAYNE KING, to
  >;       eliminate 7 severe errors resulting from "Jump out of range"
  >;       conditions when assembled with MASM 5.1. Conditional jumps must be
  >;       SHORT for under-386 class machines. Reversed condition tests, adding
  >;       labels as required, and replaced offending NEAR conditional jumps
  >;       with unconditional JMPs.
  >;       N.B. - Author of this change is not affiliated in ANY way with Intel.
  >;

Changed line 180
  >        je      end_get_cpuid   ; jump if CPU is 8086/8088
To
  >        jne     check_80286
  >        jmp     end_get_cpuid   ; jump if CPU is 8086/8088

Changed line 194
  >        jz      end_get_cpuid   ; if no bits set, CPU is 80286
To
  >        jnz     check_80386
  >        jmp     end_get_cpuid   ; if no bits set, CPU is 80286

Changed lines 383-384
  >        je      print_cpuid_data
  >
To
  >        jne     print_init
  >        jmp     print_cpuid_data
  >
  >print_init:

Changed line 396
  >        je      end_print
To
  >        jne     print_86a
  >        jmp     end_print
  >
  >print_86a:

Changed line 409
  >        je      end_print
To
  >        jne     print_286a
  >        jmp     end_print
  >
  >print_286a:

Changed line 422
  >        je      end_print
To
  >        jne     print_386a
  >        jmp     end_print
  >
  >print_386a:

Changed lines 454-455
  >        jne     not_GenuineIntel
  >
To
  >        je      is_GenuineIntel
  >        jmp     not_GenuineIntel
  >
  >is_GenuineIntel:

Comparison complete
[ RETURN TO DIRECTORY ]