Questions tagged [asm]

7 questions
9
votes
2 answers

Apollo-11: Using inclusion instead of a linker

Recently digitized and turned into a repo, the original Apollo 11 guidance computer source code has been made available for viewing on Github. In MAIN.agc, the repo author comments that they split the huge monolithic source code into smaller, more…
8protons
  • 1,359
  • 1
  • 10
  • 27
7
votes
2 answers

Implementing non-fixed length array support in a compiler

I'm thinking of building a language for PIC microcontrollers. I want to be able to use non-fixed size arrays, like this: Declare the variable as int[] Wait for input from serial connection Make the variable input long I think such a feature would…
user76821
4
votes
1 answer

How to comply with the Java ASM License?

I am designing an open source Java library that I will likely release with an MIT license, and its sole dependency is the ASM dynamic bytecode injection library. According to their license: Redistributions in binary form must reproduce the above…
herpylderp
  • 2,017
  • 3
  • 21
  • 27
2
votes
2 answers

How are I/O port addresses and data sent?

First of all, I'd like to say this is a hardware-level question, which is very closely related to the "in" and "out" command in x86 assembly. I have searched for quite some time, but I still haven't found how they send the addresses and the data.…
Myrl
  • 99
  • 3
  • 8
1
vote
1 answer

is it possible to increase the offset in a jm(jump command inside)?

This is my first post here and I'm glad to join this great community and I hope to learn a lot here and help if I can(though i am a very beginner). I have a theoretical question: I am trying to add to the single cycle datapath the following command…
0
votes
3 answers

Memory addresses and Assembly

I recently started reading about programming in Assembly. To my knowledge, in Assembly, a programmer, when storing and retrieving their variables, has to specify the address their variables are stored in from the RAM register to the CPU. Now my…
rakagunarto
  • 101
  • 4
0
votes
1 answer

Would you get better performances by coding an application in C, then compile to JavaScript?

I am writing an interpreter for a functional programming language that is going to run in the browser. Needless to say, performance is the one and only concern in this application. Emscripten is an LLVM→JavaScript compiler which claims to produce…
MaiaVictor
  • 5,820
  • 7
  • 27
  • 45