Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Alpha Pixie
@ 1993-05-01 20:19 Ron Natalie
  1993-05-03 11:16 ` Hand Loading Routines on Alphas Dataram Corp. PO Box 7528
  0 siblings, 1 reply; 4+ messages in thread
From: Ron Natalie @ 1993-05-01 20:19 UTC (permalink / raw)


Anybody successfully use "pixie" for better profiling?   I can't get it
to work.  At best I get a bunch of errors terminating with "Don't knwo
what to do with compact reloc type 3."   Even on real simple programs
it seg faults.

-Ron


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Hand Loading Routines on Alphas
  1993-05-01 20:19 Alpha Pixie Ron Natalie
@ 1993-05-03 11:16 ` Dataram Corp. PO Box 7528
  1993-05-03 14:21   ` Eliot Moss
  0 siblings, 1 reply; 4+ messages in thread
From: Dataram Corp. PO Box 7528 @ 1993-05-03 11:16 UTC (permalink / raw)





        I have a DEC 4000 AXP, and I'm trying to run some small assembly
        code loops from the console. I can enter the data into memory and
        read it back o.k.. However, when I try to execute the loop using 
        the start command nothing happens. Below is sequencial list of
        the steps I did to load and execute the loop.


        1) I enter the code in to memory using Deposit Commands at 
           location 1000.

        2) I load the PC (program counter) with 1000, which is the 
           starting address of my loop using the deposit command.
         
        3) I try to execute the loop using "START 1000" at the 
           console.

        4) I halt the machine and nothing happens.....


        I'd appreciate any help in pointing out what I'm doing wrong
        or if I'm missing any steps...

                 

                  Regards,
                     Mike     mikem@dataram.com

A
                    Mike    mikem@dataram.com
-- 
*************************************************************************
* Chuck Staatse       Dataram Corp.  609-799-0071 extension 330         *
* chuck@dataram.jvnc.net | chuck@dataram.com | staatse@eisner.decus.org *
*************************************************************************


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Hand Loading Routines on Alphas
  1993-05-03 11:16 ` Hand Loading Routines on Alphas Dataram Corp. PO Box 7528
@ 1993-05-03 14:21   ` Eliot Moss
  1993-05-03 15:49     ` ivie
  0 siblings, 1 reply; 4+ messages in thread
From: Eliot Moss @ 1993-05-03 14:21 UTC (permalink / raw)


Respondent says he enters code into memory from the console and then directs
the CPU to start executing there, but nothing happens.

I can imagine a number of possible problems (though I have never used that
computer and cannot verify any of them).

- one must (in general) flush the data cache to memory and clear the
  instruction cache to force the new instructions to be read from memory; this
  is a general characteristic of most machines with separate I and D caches
- the region must be appropriately mapped: there must be an appropriate entry
  loaded in the instruction translation lookaside buffer (ITLB) and/or the
  ITLB miss handler must be willing to load one up for you if/when you fault
  on it
- the system may avoid mapping certain parts of low memory as a technique for
  faulting on most attempts to fetch through nil pointers

Hope this helps some .....
--

J. Eliot B. Moss, Associate Professor	Visiting Associate Professor
Department of Computer Science		School of Computer Science
Lederle Graduate Research Center	Carnegie Mellon University
University of Massachusetts		5000 Forbes Avenue
Amherst, MA  01003			Pittsburgh, PA  15213-3891
(413) 545-4206, 545-1249 (fax)		(412) 268-6767, 681-5739 (fax)
Moss@cs.umass.edu			Moss@cs.cmu.edu


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Hand Loading Routines on Alphas
  1993-05-03 14:21   ` Eliot Moss
@ 1993-05-03 15:49     ` ivie
  0 siblings, 0 replies; 4+ messages in thread
From: ivie @ 1993-05-03 15:49 UTC (permalink / raw)


In article <MOSS.93May3092155@CRAFTY.cs.cmu.edu>, moss@cs.cmu.edu (Eliot Moss) writes:
> - one must (in general) flush the data cache to memory and clear the
>   instruction cache to force the new instructions to be read from memory; this
>   is a general characteristic of most machines with separate I and D caches

Which _should_ be handled by the console's Start command.

> - the region must be appropriately mapped: there must be an appropriate entry
>   loaded in the instruction translation lookaside buffer (ITLB) and/or the
>   ITLB miss handler must be willing to load one up for you if/when you fault
>   on it

Probably not a problem since console code is probably running in PALmode, which
is unmapped.

A more likely problem is that the console might be expecting the Start location
to contain an Alpha procedure descriptor (seed of addressability + entry point),
and so is wandering off to some random location. You might want to poke through
the Alpha Calling Standards document on the CD ROM.

> - the system may avoid mapping certain parts of low memory as a technique for
>   faulting on most attempts to fetch through nil pointers

Since he says he can examine and deposit, the memory should be mapped.

Let me know if you figure this out,

Roger "just curious" Ivie


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1993-05-03 15:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-05-01 20:19 Alpha Pixie Ron Natalie
1993-05-03 11:16 ` Hand Loading Routines on Alphas Dataram Corp. PO Box 7528
1993-05-03 14:21   ` Eliot Moss
1993-05-03 15:49     ` ivie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox