[comp.sys.ibm.pc] V20 compatibility with Intel

cs4g6ag@maccs.dcss.mcmaster.ca (Stephen M. Dunn) (10/03/89)

In article <39315@bu-cs.BU.EDU> ngeow@cs.bu.edu (Yee Ngeow) writes:
$>I don't knwo about Turbo C, but I use the -G2 switch on Microsoft C
$>all the time with my V20. -G2 causes MSC to generate 80286 code. I have
$>built a number of programs this way, including STEVIE, MicroEmacs, etc., and
$>they all work just fine. I would expect 80186 code to also work (but
$>haven't actually tried it.).

   The 186 instruction set is a subset of the 286's, so if 286 code works, so
will 186 (and in fact, I'm certian that 186 code works; however, I didn't
realize 286 code did too.  But why should I care?  I have a 286)


$Hmmm.. Since V-20 runs 286 instructions, does that mean it can use the
$protected mode to run OS/2 also? Probably not, but I am really curious.


  As far as I know, the V20 and V30 don't have protected mode, so they wouldn't
be able to run OS/2.

-- 
Stephen M. Dunn                         cs4g6ag@maccs.dcss.mcmaster.ca
       <std_disclaimer.h> = "\nI'm only an undergraduate!!!\n";
**********************************************************************
TORONTO BLUE JAYS - 1989 AMERICAN LEAGUE EAST CHAMPIONS!  GO JAYS GO!!

ngeow@bu-cs.BU.EDU (Yee Ngeow) (10/03/89)

In article <25281C37.2028@maccs.dcss.mcmaster.ca> cs4g6ag@maccs.dcss.mcmaster.ca (Stephen M. Dunn) writes:
>   The 186 instruction set is a subset of the 286's, so if 286 code works, so
>will 186 (and in fact, I'm certian that 186 code works; however, I didn't
>realize 286 code did too.  But why should I care?  I have a 286)
>
>As far as I know, the V20 and V30 don't have protected mode, so they wouldn't
>be able to run OS/2.
>
Flipping through the pages of PC Resource, Oct issue, I saw a XT laptop
compatible using a NEC-V40 Chip. What is this chip? Is it pin compatible
with the 8088? Are there anymore NEC V Chips? Like a V-50???

Thanks in advance, 
Kwong

>-- 
>Stephen M. Dunn                         cs4g6ag@maccs.dcss.mcmaster.ca
>       <std_disclaimer.h> = "\nI'm only an undergraduate!!!\n";
>**********************************************************************
>TORONTO BLUE JAYS - 1989 AMERICAN LEAGUE EAST CHAMPIONS!  GO JAYS GO!!

toma@tekgvs.LABS.TEK.COM (Tom Almy) (10/03/89)

This is just off the top of my head, but should be basically accurate.

8086/8088 -- "Baseline" instruction set.

80186/80188 -- Above plus 1) shifts can have constant shift counts >1,
	2) Push immediate 3) Multiply immediate 4) Push/Pop All 5) "String"
	read from/write to port (INS, OUTS instructions) 6) ENTER LEAVE and
	BOUND instructions.

V20/V30 -- Above plus some bit field instructions which I never bothered to
	learn because they only appear in V20/V30. Also 8080 emulation mode.

80286 -- Above plus protected mode.

80386 -- Above plus 80386 protected mode, virtual 8086 mode. 32 bit register
	operation optional (prefix byte) and some extra "almost orthogonal"
	addressing modes (prefix byte). Two new segment registers.
	New instructions: 1) Move with sign extension, move with zero
	extension, 2) Multiply with product in any register (but not double
	length), 3) Double register shifts and a set of bit setting and
	test instructions. 4) Set byte on condition.
	There are also some nice hardware debugging registers.

The 8018x, Vx0, and 80286 offer about the same performance levels (at the
same clock speed) which is significantly above the 808x.

As far as coprocessors, the 80287's only improvement over the 8087 is that
WAIT instructions are no longer necessary. The 80387 is significantly faster
and offers better trig function support. Again, these coprocessors are upward
compatible but not downward compatible.

Tom Almy
toma@tekgvs.labs.tek.com
Standard Disclaimers Apply

silver@eniac.seas.upenn.edu (Andy Silverman) (10/04/89)

In article <6046@tekgvs.LABS.TEK.COM> toma@tekgvs.LABS.TEK.COM (Tom Almy) writes:
>The 8018x, Vx0, and 80286 offer about the same performance levels (at the
>same clock speed) which is significantly above the 808x.

You can't compare the V20 and the 80286 in execution speed. A V20 or V30
running at 8 MHz only gives you about 0.5 the processing power of an
80286 running at the same speed. And only for certain operations.  The 
difference between the V20 and the 8088 is only REALLY noticeable for
integer math operations.


+-----------------------+-----------------------------------------+
| Andy Silverman        | Internet:   silver@eniac.seas.upenn.edu |
| "All stressed out and | Compu$erve: 72261,531                   |
|  nobody to choke."    |                                         |         
+-----------------------+-----------------------------------------+

noelroy@kean.mun.ca (Noel Roy, Economics Dept., Memorial University) (10/05/89)

In article <39398@bu-cs.BU.EDU>, ngeow@bu-cs.BU.EDU (Yee Ngeow) writes:
> In article <25281C37.2028@maccs.dcss.mcmaster.ca> cs4g6ag@maccs.dcss.mcmaster.ca (Stephen M. Dunn) writes:
>>   The 186 instruction set is a subset of the 286's, so if 286 code works, so
>>will 186 (and in fact, I'm certian that 186 code works; however, I didn't
>>realize 286 code did too.  But why should I care?  I have a 286)
>>
>>As far as I know, the V20 and V30 don't have protected mode, so they wouldn't
>>be able to run OS/2.
>>
> Flipping through the pages of PC Resource, Oct issue, I saw a XT laptop
> compatible using a NEC-V40 Chip. What is this chip? Is it pin compatible
> with the 8088? Are there anymore NEC V Chips? Like a V-50???
> 
> Thanks in advance, 
> Kwong
> 
>>-- 
>>Stephen M. Dunn                         cs4g6ag@maccs.dcss.mcmaster.ca
>>       <std_disclaimer.h> = "\nI'm only an undergraduate!!!\n";
>>**********************************************************************
>>TORONTO BLUE JAYS - 1989 AMERICAN LEAGUE EAST CHAMPIONS!  GO JAYS GO!!

My understanding is that the V-40 supports the full 80286 instruction 
set.  However, it doesn't support protected mode either.

Noel