Current area: HOME ->

Zip File view

Ezasm for linux 1.0


This page allows you to view the contents of a file contained inside a ZIP archive available at Programmer's Heaven. This means you can view the code and find what you need from it without having to download the ZIP file first. If the file contains source code for a language we recognize, we have syntax highlighted it.

Filename displayed: ezasm\oprnd.cpp
Found in file: 40439.zip

Download: Rebex File Transfer Pack 1.0.3087.0 .NET and .NET CF component pack for transferring files over the Internet: FTP, FTP over TLS/SSL, SFTP (SSH Secure File Transfer Protocol).
#include <stdio.h>
#include <string.h>
#include "s.h"
struct operand oprnd(char x[30])
{
        struct operand o;
char rname[40][10]={"ax","cx","dx","bx","al","cl","dl","bl","ah","ch","dh","bh","sp","bp","si","di","[bx][si]","[si][bx]","[bx][di]","[di][bx]","[bp][si]","[si][bp]","[bp][di]","[di][bp]","[si]","[di]","[bp]","[bx]","es","cs","ss","ds"};
        char rcode[40][5]={"000","001","010","011","000","001","010","011","100","101","110","111","100","101","110","111","000","000","001","001","010","010","011","011","100","101","110","111","00","01","10","11"};
        char w[40][3]={"1","1","1","1","0","0","0","0","0","0","0","0","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1"};
        char type[40][3]={"r","r","r","r","r","r","r","r","r","r","r","r","r","r","r","r","m","m","m","m","m","m","m","m","m","m","m","m","s","s","s","s"};     
        int i,error=0;     
        for(i=0;i<40;i++)
        {
                if(strcmp(rname[i],x)==0)
                {
                        error=0;
                        break;
                }
                else error=1;
        }       
        strcpy(o.r,rcode[i]);
        strcpy(o.w,w[i]);
        strcpy(o.t,type[i]);
        if(error==1)    
        o.reg=0;
        else o.reg=1;
        return o;
}


Bonus Vista Icon Collection 1.0
3.888 Unique graphic Unit Eye catching colors Give a unique look to your software, projects. Business icon Collection Core icon Collection Database icon Collection Document icon Collection F...
MemAccess Library 1.4
MemAccess Library gives programmers control of hardware devices from Windows (Win32 & x64) application without using the Windows Drivers Development Kit (DDK). The tool allows real-time direct ac...
Rebex File Transfer Pack 1.0.3087.0
.NET and .NET CF component pack for transferring files over the Internet: FTP, FTP over TLS/SSL, SFTP (SSH Secure File Transfer Protocol).
Download Bonus Vista Icon Collection 1.0 3.888 Unique graphic Unit Eye catching colors Give a unique look to your software, projects.  Business icon Collection Core icon Collection Database icon Collection Document icon Collection F... Download MemAccess Library 1.4 MemAccess Library gives programmers control of hardware devices from Windows (Win32 & x64) application without using the Windows Drivers Development Kit (DDK). The tool allows real-time direct ac... Download Rebex File Transfer Pack 1.0.3087.0 .NET and .NET CF component pack for transferring files over the Internet: FTP, FTP over TLS/SSL, SFTP (SSH Secure File Transfer Protocol).







Sponsored links

Build IT Knowledge with Current & Trusted Content
Helps Employees Develop & Hone New Technical Programming Skills. Sign Up & Get Full Access.
Check Out IT Certification Preparation Materials
Sign Up With SkillSoft & Get Access to Training Materials for Over 50 Professional Certifications.
Six Sigma Certification
100% Online-Six Sigma Certificate from Villanova - Find Out More Now.
Localize software in three simple steps
Localize .Net, C/C++ & Delphi apps visually. HTML, HTML Help, XML & databases. Try Sisulizer now!
Localize Delphi software in three simple steps
Localize Delphi VCL & .Net apps visually. Plus HTML, HTML Help, XML & databases. Try Sisulizer now!


Newsletter | Submit Content | About | Advertising | Awards | Contact Us | Link to us |
© 1996-2008 Community Networks Ltd All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited. Violators of this policy may be subject to legal action. Please read Terms Of Use and Privacy Statement for more information. Development by Synchron Data - .NET development.