How to code simple Additions / Divisions in 68k Assembly?

273 Views Asked by At

I am totally new to Assembly68k and it is difficult for me to find instructive code that helps me learning. I want to write a very simple program to begin with:

  • Define variable A = 100.
  • Calculate the inverse i.e. calculate 1/A
  • Divide by the outcome by another constant such as 5
  • store the result

Could anyone help me out here? I know this is a very basic question, but I guess I need a starting point somewhere.. Thank's so much!!

0

There are 0 best solutions below