home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / progasm / sprcbnch.arj / POSTER < prev    next >
Text File  |  1992-05-09  |  3KB  |  64 lines

  1. >>>file/ibm_pc_b 141 cbip@cs.ulowell.edu(64854)6May92 13:24
  2. TITLE: v18i064: sprcbnch.zoo, SPARCbench cross-assembler utilities (part 01/03)
  3.  
  4. +Message-ID   : <1992May6.132429.2016@ulowell.ulowell.edu>
  5. +From         : cbip@cs.ulowell.edu (CBIP Moderator)
  6. +Organization : University of Massachusetts at Lowell Computer Science
  7.  
  8. Checksum:  828307173  (Verify with "brik -cv")
  9. X-Submissions-to: cbip@cs.ulowell.edu
  10. X-Questions-to: cbip-request@cs.ulowell.edu
  11. Submitted-by: scubed!ncrcol!gmb
  12. Posting-number: Volume 18, Issue 064
  13. Archive-name: sprcbnch/part01
  14.  
  15. The SPARCBench package consists of a SPARC cross-assembler
  16. (sasm), user-code simulator (ssim), and a disassembler (dis), all of
  17. which run under MSDOS.  These tools are based upon Version 7 of the
  18. SPARC Architecture Manual.
  19.  
  20. Ssim attempts to simulate the user-code instruction set of the SPARC
  21. cpu as run under SunOS.  It makes no effort to simulate privleged
  22. (kernel mode) instructions.  It also functions completely within the
  23. limits of MSDOS.  This means that many system calls (particularly
  24. those dealing with multiprocessing and networking) either return
  25. ENOSYS (not implemented) or EINVAL (invalid).
  26.  
  27. Ssim is _not_ intended as a vehicle to simulate large SPARC binaries.
  28. First, the performance would be miserable.  On a 10Mhz 8086 laptop,
  29. between 1000 and 2000 SPARC instructions per second are simulated.
  30. Secondly, the missing system call functionality mentioned previously
  31. precludes running just about any large (and many small) SPARC binaries.
  32.  
  33. So, what good is ssim?  It is mainly intended for those wishing to
  34. learn the SPARC instruction set as an assembly language.  The SPARC
  35. instruction set is small, regular and has other RISC-like properties.
  36. SPARC hardware provides the best method for learning the instruction
  37. set.  Ssim allows MSDOS hardware to function as a substitute.  It also
  38. has a rudimentary tracing capability to record addresses of code
  39. execution and data read/write.
  40.  
  41. A cross assembler (sasm) is included so you can write your own SPARC
  42. assembler programs and execute them using ssim.  There is no linker.
  43. Since ssim is targeted for small hand-written programs, sasm assembles
  44. entire complete programs directly into NMAGIC (to save disk space)
  45. SPARC executables.  Ssim can handle ZMAGIC format binaries also, as
  46. long as they are less than 64k total text and data size :-).  The
  47. output of sasm will indeed run on actual SPARC hardware.
  48.  
  49. Ssim contains a simple interactive debug environment for stepping
  50. through SPARC code execution.  Its user interface is modelled after a
  51. subset of the GNU debugger gdb.
  52. [
  53. Checksums obtained with the 4.3BSD "sum" or System V "sum -r" command.
  54.  
  55. checksum     size (bytes)  file (between BEGIN--cut and END--cut lines)
  56.    40717   61961      part01
  57.    17143   62000      part02
  58.    26849    7058      part03
  59.  
  60. checksum     size (bytes)  file
  61.    17735       95071      sprcbnch.zoo
  62. -- Doc
  63. ]
  64.