flat assembler
Message board for the users of flat assembler.
  
       
      Index
      > High Level Languages > Calling java classes from assembly | 
  
| Author | 
  | 
              
| 
                  
                   Tomasz Grysztar 15 Dec 2006, 14:59 
                  Though it may sound a bit insane, recently at my work I needed to somehow combine the java classes with assembly code. After I succeeded, I decided to make a small example program to post on the board, so anyone could see how it's done.
 
        I'm attaching this program here. It is a console application for Win32 (I haven't yet used java from linux assembly, but I guess it wouldn't be much different). You may need to modify the path to JVM.DLL that is defined in source and re-assemble to make it work on your system. The example uses the ZipFile class to list the files from the .zip archive. 
  | 
              |||||||||||
                  
  | 
              
| 
                  
                   rugxulo 15 Dec 2006, 19:02 
                  Insane? No, not if it works. Nice job!   
                 | 
              |||
                  
  | 
              
| 
                  
                   kohlrak 16 Dec 2006, 03:23 
                  OzzY wrote: Nice example! Indeed, but i see java as a "super HLL" because it's higher level than C/C++ which are also considered HLLs.  | 
              |||
                  
  | 
              
| 
                  
                   cod3b453 18 Dec 2006, 14:54 
                  That is very impressive!   
                 | 
              |||
                  
  | 
              
| 
                  
                   Big Red 21 Dec 2006, 07:13 
                  Excellence++! Will most likely make use of this at some point. 
                 | 
              |||
                  
  | 
              
< Last Thread | Next Thread >  | 
    
Forum Rules: 
  | 
    
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.