Results 1 to 4 of 4

Thread: Getting Started

  1. #1

    Thread Starter
    Addicted Member MethadoneBoy's Avatar
    Join Date
    Oct 2001
    Location
    Preferably somewhere between Keira Knightley and Diane Kruger but I'm not fussy
    Posts
    180

    Getting Started

    Hi. I'm just getting started on learning the 68000 Motorola Assembler.

    Can someone explain how you start and declare variables in a program. I know it's something like:

    Code:
    PSTART      EQU      $8000
    X               EQU       Something....
    Forgive my total ignorance, but I'd appreciate any help

  2. #2
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    Code:
    X      DC.L      0
    ... would declare X as a long I believe
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  3. #3

    Thread Starter
    Addicted Member MethadoneBoy's Avatar
    Join Date
    Oct 2001
    Location
    Preferably somewhere between Keira Knightley and Diane Kruger but I'm not fussy
    Posts
    180
    Yeah, I was thinking more along the lines of how do you create space to store the program and the data, etc., etc.

  4. #4
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    Code:
    PSTART    EQU    $800
    DATA      EQU    $1200
    
              ORG   PSTART
    ... something like that if I remember correctly ... actually its in the back of the handbook of mathematics
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width