Can a .NET app be complied to native.
Hi all, Just wondering if a .NET app can be compiled down to native machine code ahead of time? I'm not planning on doing so if you can, I'm just curious. Thanks ...
Hi all, Just wondering if a .NET app can be compiled down to native machine code ahead of time? I'm not planning on doing so if you can, I'm just curious. Thanks ...
Is there a programming language "below" Assembly? Thanks. ...
Is it possible to write a C function that does the following? Allocate a bunch of memory in the heap Writes machine code in it Executes those machines instructions Of course, I would have to restore the state of the stack to what it was prior to the execution of those machine instructions manually, but I want to know if this is feasi...
What is the difference between object code, machine code and assembly code? Can you give a visual example of their difference? ...
Hi guys, I just wonder, if all compilers in any language transform the code into the only language "talked" in the computer guts (Machine Code - zeros and ones), why is it so hard to pass .NET windows application into a Mac application? Shouldn't someone come with a brilliant idea (I have no brilliant ideas since I got married 3 years ...
what is the assembler syntax to see which of two numbers is greater? what is the lower level (machine code) for it? can we go even lower? once we get to the bit level, what happens? how is it represented in 0's and 1's? ...
Managed languages being the ones that handle memory cleanup for you. EDIT I'm not talking about garbage collection. I was just interested in knowing about languages that would free() memory for me automatically, and still compile down to machine code. ...
I just wonder, can we execute a program on a machine without an operating system? Besides, I heard that the Linux kernel is written in C language and a kernel is run during booting, so I just wonder how a computer understand the language without first compiling? ...
I'm in the middle of my a levels and im doing some revision for my Computing exam. I was wondering if someone could tell me what the difference is between machine code and object code. keep it it simple please. ...
Hi, A friend of mine was given 8080 assembly code as part of a puzzle he's trying to solve. This is the code: 3E 02 4F C6 04 47 11 41 01 21 69 00 19 76 He needs the values of B, DE, C and HL Can anyone solve this or point me in the right direction on how to run this? Thx! Update Spoiler: The solution seems to be: C = 02, B = 06, D...
Looking for a tool I can use to do aspect-oriented programming at the assembly language level. For experimentation purposes, I would like the code weaver to operate native application level executable and dynamic link libraries. I have already done object-oriented AOP. I know assembly language for x86 and so forth. I would like to be...
Background Information: Ultimately, I would like to write an emulator of a real machine such as the original Nintendo or Gameboy. However, I decided that I need to start somewhere much, much simpler. My computer science advisor/professor offered me the specifications for a very simple imaginary processor that he created to emulate first....
Hi I'm trying to load raw machine code into memory and run it from within a C program, right now when the program executes it breaks when trying to run mprotect on the memory to make it executable. I'm also not entirely sure that if the memory does get set right it will execute. I am currently running this on Ubuntu Linux x86 (Maybe the ...
Why is it that if you open up an EXE in a hex editor, you will see all sorts of things. If computers only understand binary then shouldn't there only be 2 possible symbols seen in the file? Thanks ...
Suppose these two are essensially the same: push 1 and 0x1231 Which says each assembly instruction maps to a machine code. But is it necessary that each machine code can only map to one assembly code? ...
can I do something like: typedef void (*functor)(void* param); //machine code of function char functionBody[] = { 0xff,0x43,0xBC,0xC0,0xDE,.... } //cast pointer to function functor myFunc = (functor)functionBody; //call to functor myFunc(param); ...
I'm confused about machine code and native code. What is the difference between these? Are these the same or not please? ...
Are there any open-source tools or libraries for static code analysis of simple custom assembly-like languages (for automatically generated programs) and what are they capable of (detecting unused code/registers, giving high-level expressions for code segments, call graphs etc.)? Which algorithms do exist in this field? ...
What's the relationship between machine language and assembly language programming? ...
More specifically, I would like to produce a file that I can load into memory (for example with mmap) and then jump to the start of that memory to run the code. Ideally, I'd like the option of either making the code relocatable (which might be inefficient) or specifying an explicit address that the code expects to be loaded at (which is...