Author Topic: NASM on Raspberry Pi  (Read 495 times)

Offline shishili

  • Jr. Member
  • *
  • Posts: 2
NASM on Raspberry Pi
« on: June 22, 2019, 12:39:39 PM »
Hi! I'm a students from China. And my professor request us edit a little program with Assembly language. I downloaded NASM installer for win-64 in the morning. After the installation finished, i click the icon to open it. But the window look like a command window without other operations(I want insert an image here, but failed). I don't know what should i do next.
And i have a Raspberry Pi. Could NASM work on it? And how? Thank you from the bottom of my heart in advance!

Offline Frank Kotler

  • NASM Developer
  • Hero Member
  • *****
  • Posts: 2384
  • Country: us
Re: NASM on Raspberry Pi
« Reply #1 on: June 22, 2019, 06:23:24 PM »
 Hi shishili,

Welcome to the forum!

Nasm should work on any Intel/AMD x86 or x86-64 CPU. From what I can find out, the Raspberry Pi has an ARM CPU, which unfortunately means that Nasm won't work for you. I wish I could give you better news! 

If you want to try programming on your Windows machine, perhaps we can help you there.

Best,
Frank


Offline shishili

  • Jr. Member
  • *
  • Posts: 2
Re: NASM on Raspberry Pi
« Reply #2 on: June 23, 2019, 01:30:47 AM »
Fine, i will try to install it on win again. Thank you so much! ;D

Offline debs3759

  • Global Moderator
  • Jr. Member
  • *****
  • Posts: 63
  • Country: gb
    • GPUZoo
Re: NASM on Raspberry Pi
« Reply #3 on: July 31, 2019, 11:49:31 AM »
To run nasm, you don't click an icon. You run it from the command line. I am surprised your tutor didn't tell you how to do it before telling you to do it. Let us know what you have managed, and we should be able to help.
My graphics card database: www.gpuzoo.com