Atari.Org
Click Here
HomeNewsServicesForumsSupport

Talk Atari

Atari.Org Forums


16/32-Bit

8-Bits

Classics

Emulation

Jaguar

Lynx

Classic Consoles Forum 8-Bits Forum 16/32 Forum
Emulation Forum Jaguar Forum Lynx Forum
 
 Subject: RE: 68010 in 1040STE?
Author: ToasT (ACD47DA4.ipt.aol.com)
Date:   03-04-2008 21:30

Okay try this assembly program.

You will find the result is different on the two processors.

;---- program start ---
lea #$10,a0 ;a0=illegal vector
lea trphandle,a1 ;a1=illegal save routine
move.l (a0),-(sp) ;Store the vector for later
move.l a1,(a0) ;install the save routine
move.l sp,a1 ;store the stack for later
move ccr,d0 ;This instruction fails on the 68000
move.l #10,d0 ;if the program makes it here then it is a 68010
; Start of save routine
trphandle: move.l a1,sp ;restore the stack
move.l (sp)+,(a0) ;restore the illegal vector
add.l #68000,d0 ;add 68000 to d0 to see the processor type
;---- program end ---
d0 = processor type

 Topics Author  Date
  68010 in 1040STE? new N/A 03-02-2008 23:39 
   RE: 68010 in 1040STE? new FatRakoon 03-02-2008 23:50 
    RE: 68010 in 1040STE? new N/A 03-03-2008 04:03 
    RE: 68010 in 1040STE? new Peter 03-03-2008 10:19 
     RE: 68010 in 1040STE? new FatRakoon 03-04-2008 03:48 
      RE: 68010 in 1040STE? new Peter 03-04-2008 19:06 
       RE: 68010 in 1040STE? new FatRakoon 03-05-2008 01:27 
        RE: 68010 in 1040STE? new Peter 03-05-2008 11:26 
         RE: 68010 in 1040STE? new ToasT 03-05-2008 20:31 
          RE: 68010 in 1040STE? new Peter 03-06-2008 00:32 
           RE: the motherboard new ToasT 03-06-2008 01:01 
            RE: the motherboard new Peter 03-06-2008 10:24 
             RE: the motherboard new ToasT 03-06-2008 20:15 
              RE: the motherboard new Peter 03-08-2008 11:52 
               RE: the motherboard new ToasT 03-08-2008 17:18 
          RE: 68010 in 1040STE? new FatRakoon 03-08-2008 23:19 
           RE: 68010 in 1040STE? new Peter 03-09-2008 15:19 
            RE: 68010 in 1040STE? new FatRakoon 03-09-2008 17:53 
             RE: 68010 in 1040STE? new havoc 04-18-2008 14:39 
             RE: 68010 in 1040STE? new Cliff 04-18-2008 14:44 
   RE: 68010 in 1040STE? new RA/pdx 03-03-2008 21:02 
    RE: 68010 in 1040STE?  ToasT 03-04-2008 21:30 
     RE: 68010 in 1040STE? new RA/pdx 03-06-2008 09:27 
      RE: 68010 in 1040STE? new Peter 03-06-2008 10:22 
       RE: 68010 in 1040STE? new ToasT 03-06-2008 19:54 
        RE: 68010 in 1040STE? new GWiZ 03-23-2008 13:24 

 Reply To This Message
 Your Name:
 Your Email:
 Subject:
 Human verification:   What's this?
               _    __     _ _     
 _ __  ___ _ _| |_ / _|___| (_)___ 
| '_ \/ _ \ '_|  _|  _/ _ \ | / _ \
| .__/\___/_|  \__|_| \___/_|_\___/
|_|                                
    



Copyright © 1997-2024 Atari.Org 
Atari is registered trademark of Infogrames