home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / misc / 1000 next >
Encoding:
Internet Message Format  |  1993-01-05  |  1.1 KB

  1. Xref: sparky comp.os.misc:1000 comp.os.vms:20336
  2. Newsgroups: comp.os.misc,comp.os.vms
  3. Path: sparky!uunet!world!mbg
  4. From: mbg@world.std.com (Megan B Gentry)
  5. Subject: Re: Help on RT-11 macro language
  6. Message-ID: <C0DCn6.37o@world.std.com>
  7. Keywords: RT-11, macro
  8. Organization: The World Public Access UNIX, Brookline, MA
  9. References: <93Jan04.223305.29354@acs.ucalgary.ca>
  10. Date: Tue, 5 Jan 1993 06:57:05 GMT
  11. Lines: 28
  12.  
  13. morrow@cns.ucalgary.ca (Bill Morrow) writes:
  14.  
  15. >DR3INT: 0
  16. >    BR    10$+2        <--- branch to where ?
  17. >    BR    20$+2
  18.  
  19. Jerry is right, DR3INT seems to be a word which is modified
  20. by the contents of the remainder of the table.  The two
  21. BR instructions are what get moved into it.  I would suspect
  22. that there must be code which initializes DR3INT, otherwise
  23. the first time through this code, the processor would halt.
  24. Also, the BR 20$+2 appears to be wrong, as Jerry stated, it
  25. appears that it should be BR 20$+4.
  26.  
  27. >10$:    MOV    #107,DMACSR
  28. >    TST    ADCO        <--- here ?
  29. >    BEQ    11$
  30. >    MOV    #113,KWREG
  31. >11$:    MOV    DR3INT+4,DR3INT
  32. >    TR            <--- or here ?
  33.  
  34. TR must be a macro.
  35.  
  36. Really unclean code.
  37.  
  38.                     Megan Gentry
  39.                     RT-11 Developer
  40.  
  41.