[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
Title: | -={ H A C K E R S }=- |
Notice: | Write locked - see NOTED::HACKERS |
Moderator: | DIEHRD::MORRIS |
|
Created: | Thu Feb 20 1986 |
Last Modified: | Mon Aug 03 1992 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 680 |
Total number of notes: | 5456 |
248.0. ">255 args to CALLS" by VIRTUE::RICO () Wed May 28 1986 17:13
This isn't a great hack, but I thought it was funny. The other
day, I had a program that was bombing on a call to SYS$FAO. It
turned out that the stack was getting corrupted, and futher inspection
showed that there were more than 255 arguments in the CALLS
instruction, and only the low order byte is used, so the stack
was getting trashed on the RET from FAO!!
I could've used CALLG, but instead I just saved and restored
the SP manually! (Must be other code somewhere that has to do this...)
T.R | Title | User | Personal Name | Date | Lines |
---|
248.1 | | PASTIS::MONAHAN | | Thu May 29 1986 04:03 | 5 |
| DEC Standard 032 on page 123 makes it clear that CALLS has only
one byte available for the number of arguments. The other 3 in the
longword are "used by DIGITAL software"; does anyone know for what?
Dave
|