ASSEMBLY LANGUAGE FILE TO .CLASS --- URGENT!!!!

Can someone please tell me how to convert a MIPS assembly language file to a .class so I can run it in a JVM? It's URGENT (there's a bus about to hit me and the driver will only stop if I can tell him how to do this).

Looking for real boobs? I have the best for you. Look
at www.realandnatural.info you will find the largest
archive on the net. Enjoy! =)You can't have read many of the posts here. We have quite a set of them ourselves.

Similar Messages

  • Assembly language on Mac OS X

    I just purchased two books. The first is called "Write Great Code -- Volume 1: Understanding the Machine". It is not about assembly language in specific, just about understanding how computers work on a low level. The other is called "Assembly Language: Step-by-Step" by Jeff Duntemann. I've only read the introduction. It teaches assembly language for Intel-based computers (that's me!), but it also says that it's for DOS and Linux. However, I believe that the reason it says this is because it teaches using the NASM assembler, which, at the time this second edition of the book was published, was only available for DOS and Linux. However, they now have a Mac OS X version of NASM, and I've download it. So, here are my questions:
    1.) Given the information I just gave about this book, I want to make sure that the information and code in it will apply to Mac OS X. It certainly sounds like it will, and I understand that there may be minor differences, but I just want to make sure that I'm in the right ballpark here by using this book.
    2.) Since it teaches NASM, I'm assuming that NASM was the right assembler for me to download. I also just wanted to check and see if there's any other tools I should be downloading. The book mentions a NASM-IDE, but says that it's for DOS only. Is there anything else like this (or anything else at all) that I should obtain?
    3.) Does NASM need to be installed? I went to the NASM website and downloaded the newest version (2.08rc1) for Mac OS X, and it unzipped in my Downloads folder. I've opened the folder and it's a bunch of files that I can't recognize (no install or app files in other words -- just files like rdf2bin, rdf2com, idrdf, and so forth). Is there anything else I need to do? Should I move this folder somewhere? What else do I need to do to get started here? Where would I write my code? How would I run the code? As of right now I have no idea where to go from here, and as you can tell I know nothing about how all this works. Maybe the book will tell me more when I get to the first code sample in the book, but it doesn't look like it, so I just wanted to ask for any information that anyone has time to give about anything relating to getting starting with assembly language and NASM on Mac OS X.
    Thanks in advance for any help. I'd love to hear any input or recommendations on this subject, since it's something I really know nothing about, but you gotta start somewhere!

    Okay, so I found a site to guide me through the installation of NASM on Mac OS X, and it said that 2.08rc1 is a "release candidate" (thus the "rc" part -- yeah, I'm not too sharp), and that I should have downloaded the newest version that didn't have "rc" in it, so I went back and downloaded 2.07. Unlike with 2.08rc1, there wasn't a folder on the website for a Mac OS X version, just DOS and Linux and Win32 and whatnot, but the site that was guiding me said to download the file called nasm-2.07.tar.bz2 (or something like that), so that's what I did. It then gave me instructions for configuring and installing NASM via the terminal, and it worked great! I've compiled and installed NASM, so I've gotten that far, but the rest of my questions in the previous post still apply. For example, I still want to make sure the book I bought will be applicable to assembly language on Mac OS X. Also, I'd like to know if there is anything else (like the NASM-IDE I mentioned in the above post) that I should download. And, finally, I still don't know where to go from here to get started with coding assembly language (I mean, for example, I think I read in my book that you write the code in a text editor -- is that right? How's that work?). Any further input on any of this or anything from the previous post above would be greatly appreciated. Thanks!

  • Assembly Language in Xcode

    I am currently taking a Java course in college and it runs great in Xcode.
    I just found out today that I will have to take an assembly language course sometime next year. I talked to the genius at my local apple store and he said that assembly language will work in Xcode, but will be different for PPC and intel macs.
    However, he did not tell me how to start in assembly language in xcode. If anyone knows how please tell me and, if possible, supply some sample code for an intel mac so I can test it out.
    iBook G4 14 1.2GHz, 1.25GB, iMac Core Duo 17" 1.83GHz 1GB   Mac OS X (10.4.8)  

    There is "gas", the GNU Assembler. As a student, you can buy Borland's Turbo Assembler for $130. The more common Turbo C++, Turbo Delphi(s), and Turbo C# are now free.
    A MBP with Parallels will pretty much handle anything that will run on a PC. It would be an excellent choice for any programmer.
    Still, tele_player is correct. There is no way to tell what platform your assembly class may be using. Few people use assembly anymore and those that do are a little bonkers or just stubborn. You may find yourself learning assembly for the Z80, 68000, or IBM System/360. On the bright side, there are probably emulators for all of those that run on a modern Mac. On the downside, you may still have to submit your assignments on the lab machine.
    It is definitely an excellent course to take. There are not enough programmers who know assembly. You will really learn a lot about how a computer runs software and how to write software.

  • How to download a text file using classes

    Hi Guys
    I want to download a text file using classes.
    Any idea how to do it ?
    Thanks
    Sameer

    HI sameer,
       It is no different from using a Function module.
    example:
      CALL METHOD cl_gui_frontend_services=>gui_download
        EXPORTING
          filename                  = w_fpath
        append                    = SPACE
          write_field_separator     = 'X'
        CHANGING
          data_tab                  = it_download
        EXCEPTIONS
          file_write_error          = 1
          no_batch                  = 2
          gui_refuse_filetransfer   = 3
          invalid_type              = 4
          no_authority              = 5
          unknown_error             = 6
          header_not_allowed        = 7
          separator_not_allowed     = 8
          filesize_not_allowed      = 9
          header_too_long           = 10
          dp_error_create           = 11
          dp_error_send             = 12
          dp_error_write            = 13
          unknown_dp_error          = 14
          access_denied             = 15
          dp_out_of_memory          = 16
          disk_full                 = 17
          dp_timeout                = 18
          file_not_found            = 19
          dataprovider_exception    = 20
          control_flush_error       = 21
          not_supported_by_gui      = 22
          error_no_gui              = 23
          OTHERS                    = 24
    Regards,
    ravi

  • Emdedding swf file as class throws error while previewing the component

    Dear all,
    I am using Flex SWFLoader to load an animated swf file and added it as a component in xcelsius by add on manager. When i click preview button it throws the folloing error.
    TypeError: Error #2023: Class must inherit from Sprite to link to the root.
    I am embedding swf file by using the following lines of code
    Embed('Animation_1.swf')
    public var Animation:Class;
    Then i tried to create my class by extending Sprite, i got the same error,
    Can you please anyone help me to solve this issue, all i need is the way to emded the swf file as class and using it in xcelsius. The embedded swf class is working fine alone (that is outside to the xcelsius).
    Thanks & Regards,
    Manimaran.
    Edited by: manimaraninfo on Jun 18, 2009 10:47 AM
    Edited by: manimaraninfo on Jun 18, 2009 10:48 AM

    Hi
    To embed a .swf file in xcelsius using SWFLoader, you have to pass the path of that swf file to the source property of SWFLoader.
    By using class concept xcelsius does not get the path of the swf file you have embeded.
    In flex It gets that file because that swf file is present in the same directory as your application.
    Hope this helps
    Regards
    Rush-me

  • How do I purge foreign language files from OS X, 10.8, without using purchased software?

    I jumped from Snow Leopard on an older MBP to a new MBP with Mtn Lion already installed, and though my older MBP had all but English and Spanish languages deleted from the Snow Leopard install, it appears that I do now have many foreign languages I would rather not have on my hard disk.  I ran across an app from Stellar Software, Speedup Mac, that has a demo version, but without paying the $29 purchase price purging of language files cannot be done.  (It was this app that showed me that all those other languages were hidden on my drive.)  I am simply wondering if there is lesser expensive apps for stripping languages from 10.8 or simple command line instructions that I (not a usual Terminal user) could use to accomplish this "downsizing".  BTW, I'm not too keen on reinstalling 10.8 just to purge the unwanted languages.  I've got plenty of hard drive space (yes, it is HDD not Flash-based) but I think this new MBP would start up faster w/o the extra files.  Despite going from an MBP with a Core2Duo to an MBP with a Corei5, my new machine is way slower starting up.  Much gracias everyone.

    I recommend that you do not do this. Extraneous language files do not occupy much space, and removing them has been known to break future upgrades for those apps. There is also no way to undo their removal, short of restoring your system from a backup.
    Your computer's performance is unaffected by the presence of these localized language files. Deleting them will result in no performance improvement whatsoever. Localized language resources are stored in resource folders contained within each app. They load what is required according to your specifed settings in System Preferences.

  • Language files for non-official Skype languages av...

    Skype bundles a number of languages with the standard installation file but there are more languages available for the interface. Some of these are really hard to find on the forum or web so to make life easier, some translators have opened a project on SourceForge (download your lang file here) where you can now get all the .lang / .ts and .qm files (as far as we know). To install in Windows, go to Skype and select Tools » Change Language » Load Skype Language file. To install on Linux, check the wiki on SourceForge.
    If you would like to continue translating into your language or if you want to start a new non-official translation, please visit the project on Transifex 
    Please note:
    They're not all complete translations (but you're welcome to help!)
    They're not official so if any translations are wrong, that's not Skype's fault
    The languages currently available are:
    Adyghe (Адыгaбзэ), Windows 7%
    Afrikaans, Windows 32%
    Albanian (Shqip), Windows 100%, Linux 70%
    Amharic (አማርኛ), Windows 3%
    Arabic, Linux 32% (Windows file maintained by Microsoft)
    Aragonese (Aragonés), Windows 83%, Linux 2%
    Armenian (Հայերէն), Windows 100%, Linux 2%
    Asturian (Asturianu), Windows 100%, Linux 17%
    Azerbaijani (Azərbaycanca, Azərbaycan dili), Windows 100%, Linux 58%
    Bashkir (Башҡорт теле), Windows 100%
    Basque (Euskaraz), Windows 94%, Linux 79%
    Belarusian (Беларуская мова, тарашкевіца), Windows 81%
    Belarusian (Беларуская мова), Windows 69%, Linux 3%
    Bengali (বাংলা), Windows 10%, Linux 1%
    Bosnian (Bosanski), Windows 39%, Linux 13%
    Brazilian Portuguese (Português brasileiro), Linux 6% (Windows file maintained by Microsoft)
    Breton (Brezhoneg), Windows 100%, Linux 2%
    Cantonese (廣東話/粵語), Windows 3%
    Chuvash (Чӑвашла), Windows 83%, Linux 79%
    Colognian (Kölsch), Windows 4%
    Cornish (Kernewek), Windows 83%, Linux 79%
    Dutch (Nederlands), Linux 100% (Windows file maintained by Microsoft)
    East Lombard (Üròbech), Windows 3%
    English (British), Windows 100%
    Erzya (Зрзянь кель), Windows 3%
    Esperanto, Windows 47%
    Faroese (Føroyskt), Windows 100%, Linux 5%
    Finnish (Suomi) Linux 79% (Windows file maintained by Microsoft)
    Franconian (Frängisch), Windows 3%
    Frisian (Western; Frysk), Windows 25%, Linux 13%
    Friulian (Furlan), Windows 10%
    Gaelic (Gàidhlig), Windows 100%, Linux 100%
    Galician (Galego), Windows 38%, Linux 62%
    Georgian (ქართული), Windows 18%
    Greek (Ελληνικά), Linux 30% (Windows file maintained by Microsoft)
    Hausa, Windows 3%
    Hawaiian (ʻŌlelo Hawaiʻi), Windows 4%
    Hebrew, Linux 84% (Windows file maintained by Microsoft)
    Hindi (मानक हिन्दी), Windows 71%
    Hungarian (Magyar), Linux 100% (Windows file maintained by Microsoft)
    Icelandic (Íslenska), Windows 30%
    Indonesian (Bahasa Indonesia), Linux 6% (Windows file maintained by Microsoft)
    Irish (Gaeilge), Windows 72%
    K'ich'e Maya (Quetzijob'al), Windows 3%
    Kannada (ಕನ್ನಡ), Windows 2%
    Khmer (ភាសាខ្មែរ), Windows 83%, Linux 1%
    Kurdish (Kurmanji), Windows 1%
    Kurdish (Soranî), Windows 58%
    Ladino (Judeo-Espanyol), Windows 4%
    Ligurian (Lìgure/Zenéize), Windows 86%
    Lingala, Windows 7%
    Lojban, Windows 10%
    Lombard, Windows 12%
    Lower Sorbian (Dolnoserbski), Windows 59%
    Macedonian (Македонски јазик), Windows 78%
    Malay (Bahasa Melayu), Windows 100%, Linux 100%
    Maltese (Malti), Windows 4%
    Marathi (मराठी), Windows 34%, Linux 3%
    Mirandese (Mirandés), Windows 55%
    N'ko (ߒߞߏ), Windows 83%
    Neapolitan (Nnapulitano), Windows 5%
    Nias (Li Niha), Windows 33%
    Norwegian (Nynorsk), Windows 99%, Linux 38%
    Occitan, Windows 9%, Linux 1%
    Palatinate German, Windows 30%, Linux 5%
    Panjabi/Punjabi (ਪੰਜਾਬੀ), Windows 30%
    Persian (Farsi), Windows 41%, Linux 2%
    Piedmontese (Piemontèis), Windows 5%
    Pulaar (Fula/Fulani/Fulfulde), Windows 67%
    Quechua (Runa simi), Windows 3%
    Rumantsch Grischun, Windows 5%
    Sakha/Yakut (Саха тыла), 72%
    Samoan (Gagana Sāmoa), 56%
    Sardinian (Sardu), Windows 2%
    Scots, Windows 6%
    Serbian (Српски), Windows 94%, Linux 100%
    Sinhala (සිංහල), Windows 6%
    Swahili (Kiswahili), Windows 4%
    Swedish (Svenska), Linux 100% (Windows file maintained by Microsoft)
    Tagalog/Filipino, Windows 3%
    Tajik (Тоҷикӣ), Windows 70%
    Talossan (El Glheþ Talossan), Windows 18%
    Tamil (தமிழ்), Windows 71%
    Tatar (Татар теле), Windows 88%
    Telugu (తెలుగు), Windows 41%
    Turkish (Türkçe), Linux 67% (Windows file maintained by Microsoft)
    Upper Sorbian (Hornjoserbšćina), Windows 91%, Linux 66%
    Urdu, Windows 84%
    Uyghur (Persian and Latin script; Uyghurche), Windows 79%
    Uzbek (Oʻzbek tili), Windows 7%, Linux 3%
    Vietnamese (Tiếng Việt), Linux 21% (Windows file maintained by Microsoft)
    Welsh (Cymraeg), Windows 85%, Linux 42%
    Wolof, Windows 3%
    Yoruba (Èdè Yorùbá), Windows 4%
    If we've missed some, do let us know!
    Do, or do not. There is no try.
    ★ Skype in your language, from Adyghe to Uyghur ★ iGàidhlig, bathar-bog 'nad chànan ★

    A sticky would be really good. Also the ability to edit that first post, cause we're already splitting the list of languages across three posts as we add:
    23. Belarusian (Беларуская мова, тарашкевіца)
    24. Norwegian (Nynorsk)
    Do, or do not. There is no try.
    ★ Skype in your language, from Adyghe to Uyghur ★ iGàidhlig, bathar-bog 'nad chànan ★

  • When trying to view a Russian website, the message "Language File Not Found" appears. How can I view the site?

    Before updating to 3.6.8, I was able to view the site just fine, but now it can't find the language file, and I have no idea where to get it from.

    Can you post a link?
    Did you try to clear the cookies from that site and maybe the cache as well?
    "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"<br />
    "Remove the Cookies" from sites that cause problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    Your above posted system details show outdated plugin(s) with known security and stability risks.
    * Java Plug-in 1.5.0_02 for Netscape Navigator (DLL Helper)
    Update the [[Java]] plugin to the latest version.
    *http://java.sun.com/javase/downloads/index.jsp (Java Platform: Download JRE)

  • Jar file vs classes

    Hi,
    i am encountering a strange problem.
    I am trying to run quartz (java application) on oc4j server.
    When i have all the quartz classes in web-inf/classes folder, the application runs fine, but the moment i make a jar out of all classes and put the jar file in web-inf/lib folder, the application gives me a null pointer exception saying it is not able to set properties from an external properties file.This properties file is located in web-inf/classes folder.
    Any help on sorting this out is welcome.
    Regards
    Ashish

    The are 2 possible ideas :
    1. If processing your external properties file is not hardcoded in .jar, so point
    classpath to the properties in META-INF/MANIFEST.MF file, example :
    Class-Path: .
    dot (.) point to the location WEB-INF/classes and you can test it easily with such code :
    Properties config = new Properties() ;
    InputStream is = getClass().getClassLoader().getResourceAsStream("config.properties") ;
    if ( is == null ) {
    System.err.println("Could not load config.properties") ;
    } else {
    config.load(is) ;
    Manifest file could be easily generated using ant.
    2. If it will not help, you should put your properties file inside .jar , but I suppose
    first solution will rock.

  • Using C functions from IA-32 assembly language

    Is it possible to use 32-bit assembly language to call C functions in 64-bit linux?
    Background: I'm learning 32-bit AT&T syntax Linux assembly language programming. The only reason for 32-bit is that's what's covered in the book I have. Some simple examples assemble, link, and execute in Arch 64 using GNU either gcc or as + ld -- with no changes either to code or command line flags.
    The problem: I'm having trouble with C function calls. Even after replacing register names (e.g., edi -> rdi) and mnemonics (e.g., movl -> movq), I find that a program which calls printf and exit never prints anything, and never returns. Hence the question.
    I can post code if needed (it's on my other machine), but this is really more of a general question -- is it possible to call C functions in Arch 64 using 32-bit AT&T syntax, and if so, how.
    Thanks!

    Not even a typo, just confusion. The CPU is an Intel Core 2 Duo -- so it's actually x86-64.
    I realize that NASM is not GAS, but checking the NASM manual helped me figure out a few things about calling 64-bit C functions:
        http://www.nasm.us/doc/nasmdo11.html
    It took a while to figure out how to correctly call printf. The missing clue was here:
        http://www.mit.edu/~6.035/handouts-2007 … convention
    printf reads the number of variable arguments from %rax. In this example, printf is called with no variable arguments:
    # c_functions.s - Calls 64-bit C functions putchar, printf, and exit
    .section .data
    a:
    .byte 'a'
    newline:
    .byte '\n'
    hello:
    .asciz "hello, world\n"
    .section .text
    .globl main
    main:
    movq a, %rdi # used as argument for putchar
    call putchar
    movq newline, %rdi # used as argument for putchar
    call putchar
    movq $hello, %rdi # first argument for printf (i.e., the format string)
    movq $0, %rax # number of variable arguments for printf
    call printf
    movq $0, %rdi
    call exit
    For simplicity, I compiled and linked with gcc (in other words, I let gcc figure out how to properly call as and ld):
        gcc c_functions.s
    If I can figure out how to pass variable arguments to printf, I'll post that. Based on the MIT reference linked above, it sounds like those arguments would be passed in SSE registers.

  • Language Files

    I only use my Mac in English US.  I see there a tone of Language Files with each CS 5 app.  Can I safely delete these?  I know in previous versions of CS for mac doing so caused problems.  Is this still the case?

    Where have you downloaded these files from ? If not from here .. try re-downloading...

  • Is there any java File Poller class example??

    Dear Sir:
    My project requires to write a java class to perform something like File Poller function,
    ie. this File Poller Class will monitor some remote or local location/directory, then when some files were dropped in this location,
    File Poller Class will pick them up then do next such as put them somewhere else or parse etc.
    I google for a while, did not find a good example. can some guru here help post a good File Poller class example ??
    Thanks
    Sunny

    yawmark wrote:
    you could do a lot worse than use [Apache Camel|http://activemq.apache.org/camel/]...
    I thought Apache Camel was Perl. Oh, wait...
    ;o)
    ~Heh heh
    Just to pre-empt the [next gag|http://activemq.apache.org/camel/what-is-a-camel-toe.html]

  • How to Compile Jsp File in Class File , Protect my JSP from outworld

    Hello Friends
    My name is chandra prakash, I'm new for u. I've develop a web based software completely in JSP, some files are also written in Java Script. This software have aprox. 40 files --> 30 in JSP + 2 in Java Script + 8 image files .
    Each JSP calls another. and run this on 58 clints machine simultaneusly. we used Oracle 9iAS as back end and Oracle9iAS web Server . Where we found less clients like 20-30 we use Tomcat 5.0 web server .Sir problem is this we don't wan't to leave our jsp source code on server.
    Is any method or third party tool by which we can convert our JSP source file in CLASS file as like real class files provide by javac.
    For this perpose we make a folder and put all files in it. Create a context on Tomcat for this folder.Create a data source for this in tomcat. Bcase this program uses Data source and connect many times to database & fetches many type of data from database. We use servlet files of tomcat for this context in WORK folder of Tomcat. and after that rename our Source file Folder. and again run our program through batch file i'm strange program runs 2-3 steps, after few times it start producing errors.
    Sir do u hava work on this field can u help me to protect this JSP source code.
    I've Use Jikes.com compiler but not get any succes, It may be i'm not using correctly .
    Pls sir give me any suggesition.
    Chandra prakash

    1. Highlight your web project or the individual file
    2. Right click
    3. Select Rebuild to build all jsp files or Make to rebuilt only changed files

  • Language files could not be located

    Hi,
    When I am trying to edit the method WdDOInit() from View in SE80. I am being thrown an error in a dialog box 'language files could not be located'.
    I press OK and the SE80 keeps running in the same state until I stop the server directly.
    I am using SAP GUI for Windows 7, and working on SAP NetWeaver for ABAP 04Ss- a sneak preview version.
    Thanks,
    Vamshi

    I reinstalled SAP GUI for Windows 7, the problem is solved. Actually I did not have an option to set the language in my old GUI. If you install Sneak Preview ABAP 04s for WebDynpro Application Development, using the SAP GUI from the same downloaded package solves the issue.
    Thanks,
    Vamshi

  • Reiunstalling Lion and/or the English language files

    I accidently deleted nearly ever English language file whilst intentionally deleting all languages to generate more disk space in my system.  Now I find that things like Safari only open up in teh Spanish language, I can't open Finder from the Dock as well as other software.
    I want tor restore my operating system to it's normal state but as the operating system was preinstalled on my iMac I seem to be hitting barriers no matter what I try.
    Is there a way that allow sme to re-download the operating system and install it on a USB or DVD and then do a clean boot and install from there?
    regards
    JR

    you don't need or want any utilities. When you boot to the Recovery HD you have 4 options. one of those is Reinstall Mac OS X. That is the one you want.
    Are you holding down Command+r and getting to the Recovery HD?
    You could try the Internet Recovery HD system. Hold down the Command+Option+r keys until you see a spinning globe in the center of the screen. Have the computer connected to your internet router with an Ethernet cable. That will boot the system from over the internet. Again select Reinstall Mac OS X.

Maybe you are looking for

  • How do i move a file from my mac to an external hard drive?, how do i move a file from my mac to an external hard drive?

    how do i move a file or folder from my mac book pro to an external hard drive? the hard drive is formatted just for the mac. i backpacking and taking loads of RAW pics so i need to get them off my mac onto the hard drive. it seems i have to copy them

  • Can't See Most Recent Episodes Without Subscribing?

    I'm experiencing a couple weird issues with my weekly podcast in iTunes, NF Show. https://itunes.apple.com/us/podcast/nf-show/id829116093?mt=2# 1. When you go to the show page in iTunes, it shows ten episodes, but not the ten most recent episodes. In

  • No Spaces in text form.

    Hi, I have a form and in the form I have a text box where the user can input his or her username. However, I dont want to allow them to be able to submit an username with spaces. For example if the following were usernames: GoodUsername - is what i w

  • Strange Error in NetWeaver Developer Studio

    I am using the NWDS Version 7.0.07, build # 200603240339. I have a directory on drive D: named 'ABC'. I created a project (say Project1), and gave this directory as the project root folder. NWDS created a directory Project1 under ABC and all the gene

  • Connecting Oracle 11g with MySQL 5.1

    Hey all, I've been looking all over the web for this, and I can't find any information that applies to my case. I have an Oracle 11g DB setup on a Windows Server 2003 SP2, and have installed the Heterogeneous services ODBC driver. I want to connect t