Questions tagged [princeton-ias]

An architecture / assembly language created for teaching. Has a simulator

Simulator: http://www.cs.colby.edu/djskrien/IASSim/

1 questions
0
votes
1 answer

assembly logarithm base 2

I'm implementing a code in IAS assembly that solve this problem: I have an array of integers A=[a1,a2,...,an] and I have to calculate B=[|log2 a1|,|log2 a2|,...,|log2 an|], where || is the floor function that rounds down to the nearest integer. I'm…
Marco Araya
  • 23
  • 1
  • 5