wei@tiger.Princeton.EDU (P Wei) (08/06/87)
I would like to write a primitive in assembly language , which returns a Float object. In the assembly code, the floating number is stored in CS:floatbuffer which is 8 bytes long. Now, before I return to smalltalk by calling exitWithSuccess macro, I should put the result object pointer into BX register. Question: What should I put in BX, giving the situation above? (or should I move the float number into smalltalk image ? where and how?) * the primitive will be in class String with the name asFloat * I will also need the primitive for my custom class. HP Wei princeton!tiger!wei