Ask A Question
 
biddy
Fresh Boarder
Blog Posts: 0
Forum Posts: 11
Rating: 0ApplaudCriticize
Posted 1 Year, 4 Months ago #1
Hello All I took a class on Assembly language this semester using RH7.2 where we created small programs that ran on the schools RH7.2 machines. Now we are in winter break I wish to keep learning the language and so today installed YDL 2.2 on my iBook in order to keep using the newly aquired skills. However, 'making' the same successfully completed programs from school on the YDL platform gives messages for alost every command such as: Error: Unrecognized opcode: 'pushl' Error: Unrecognized opcode: 'movl' Error: Unrecognized opcode: 'je' Error: Unrecognized opcode: 'addl' I know these extremely simple progs are fine as they successfully run on the schools machines (but they are intels). Any ideas apprciated. Thanks guys.
Answer
ppreddy
Fresh Boarder
Blog Posts: 0
Forum Posts: 11
Rating: 0ApplaudCriticize
Posted 1 Year, 4 Months ago #2
'ibook'? Isn't that a Mac? Macintoshes have a different processor than Intel machines do. Different processors, different assembly instructions.

in order to keep using the newly aquired skills. However, guys.

Your computer at home doesn't have an Intel processor, and cannot run your Intel assembly-language programs.

Maybe it's time to upgrade your hardware.
Answer
jt_5353
Fresh Boarder
Blog Posts: 0
Forum Posts: 13
Rating: 0ApplaudCriticize
Posted 1 Year, 4 Months ago #3
The assembly language on a PPC-based Mac is totally different from assembly on a x86 CPU. Learn the new language or get another machine for running Intel assembly.
Answer
pranav
Fresh Boarder
Blog Posts: 0
Forum Posts: 8
Rating: 0ApplaudCriticize
Posted 1 Year, 4 Months ago #4
There's an x86 emulator called bochs that might allow your software to run. It has a very minimal Linux distro so you could probably run the software though it will be slow.
Answer
jasper
Fresh Boarder
Blog Posts: 0
Forum Posts: 11
Rating: 0ApplaudCriticize
Posted 1 Year, 4 Months ago #5
Thanks to all. Looks like i will have to dual boot my PC. Thanks...
Answer

Spread the Word!

Four out of five users would recommend us to a friend. Shouldn't you?
Link to Us    Tell a Friend

Related Posts:

The Content on this site is provided for general information purposes only. Your use of the Content, or any part thereof, is made solely at Your own risk and responsibility. By entering this site you declare you read and agreed to its Terms, Rules & Privacy.
Copyright © 2006 - 2010 My Linux Gang