Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.apple2.programmer > #5199

Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ???

Newsgroups comp.sys.apple2.programmer
Date 2019-08-04 18:00 -0700
References (9 earlier) <7c5d225d-db00-43a2-b796-1758adab875a@googlegroups.com> <b1b2c909-fddd-4094-b9a8-a093d72517f1@googlegroups.com> <1082549d-470e-42bd-a75a-a47d44b3dd7b@googlegroups.com> <96e8ed49-0976-4de0-8696-f60803aad206@googlegroups.com> <a68ed4fd-8b9b-4a21-86ae-2c065785941b@googlegroups.com>
Message-ID <8339c8d0-3da8-4fc5-a0f7-ada29da239cf@googlegroups.com> (permalink)
Subject Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ???
From "touvell@gmail.com" <touvell@gmail.com>

Show all headers | View raw


On Saturday, August 3, 2019 at 3:58:50 AM UTC-4, denisb...@gmail.com wrote:
> 
> Now, surely it is loading the first character, comparing it to zero and then exiting. Shouldn't the BNE be BEQ?


On Saturday, August 3, 2019 at 8:14:15 AM UTC-4, Antoine Vignau wrote:
> First is beq, second is bne. from memory, X is preserved so we are supposed to be good,
> av

That is indeed the answer! When I first typed in the code, it appears that I typed BNE instead of BEQ after loading a character, before sending it to COUT.

When I typed it into Merlin 8, I got it right, and that's why it worked then.

When I typed it again for Merlin 16 (not 16+) I made the same error, or maybe I just copied the original Merlin 16+ source file, so the error was there.

I changed the first BNE to BEQ in Merlin 16+ and it worked, but only after quitting Merlin 16+, running BASIC.SYSTEM, and running the binary from there using -AV1. It DID NOT work when running from the Merlin 16+ Main Menu Disk Command line, using -AV1.

Further investigation shows that it will run from the Merlin 16 (not+) or Merlin 8 Main Menu Disk Command line.

So, after more study of the Merlin 16+ Supplement manual, I found a discussion about EXE files on page 28 saying:

 "When an EXE file is launched from the Main Menu disk command, or by the Command Box as a shell command, it is executed in full 16=bit mode (as per Apple Protocol)...

As I read further, it started getting into things I don't quite understand yet.

So, is there a way to launch the assembled 8-bit file as an 8-bit program without leaving Merlin and starting Basic System, like it appears that Merlin 16(not+) does? That seems like a major time waster when developing an 8-bit program.

Thanks again!
-Dave

Back to comp.sys.apple2.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Assembler for Learning Assembly Language Programming ORCA vs Merlin vs ??? "touvell@gmail.com" <touvell@gmail.com> - 2019-07-30 08:37 -0700
  Re: Assembler for Learning Assembly Language Programming ORCA vs Merlinvs ??? D Finnigan <dog_cow@macgui.com> - 2019-07-30 18:00 +0000
  Re: Assembler for Learning Assembly Language Programming ORCA vs Merlin vs ??? Andy McFadden <thefadden@gmail.com> - 2019-07-30 13:01 -0700
    Re: Assembler for Learning Assembly Language Programming ORCA vs Merlin vs ??? "Frank M." <frank_o_rama@hotmail.com> - 2019-07-30 14:27 -0700
      Re: Assembler for Learning Assembly Language Programming ORCA vs Merlin vs ??? "touvell@gmail.com" <touvell@gmail.com> - 2019-07-30 18:37 -0700
    Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? D Finnigan <dog_cow@macgui.com> - 2019-07-31 00:09 +0000
      Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? "touvell@gmail.com" <touvell@gmail.com> - 2019-07-30 18:34 -0700
  Re: Assembler for Learning Assembly Language Programming ORCA vs Merlin vs ??? "touvell@gmail.com" <touvell@gmail.com> - 2019-07-30 15:38 -0700
    Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? D Finnigan <dog_cow@macgui.com> - 2019-07-31 00:11 +0000
      Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? "touvell@gmail.com" <touvell@gmail.com> - 2019-07-30 18:41 -0700
        Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? "touvell@gmail.com" <touvell@gmail.com> - 2019-07-31 19:51 -0700
          Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? Antoine Vignau <antoine.vignau@laposte.net> - 2019-07-31 21:17 -0700
            Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? "touvell@gmail.com" <touvell@gmail.com> - 2019-08-01 15:51 -0700
            Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? "touvell@gmail.com" <touvell@gmail.com> - 2019-08-01 16:07 -0700
              Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? James Davis <JPD.Enterprises@outlook.com> - 2019-08-01 18:54 -0700
                Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? "touvell@gmail.com" <touvell@gmail.com> - 2019-08-01 20:55 -0700
                Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? Antoine Vignau <antoine.vignau@laposte.net> - 2019-08-01 23:38 -0700
                Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? "touvell@gmail.com" <touvell@gmail.com> - 2019-08-02 06:26 -0700
                Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? andrew.roughan@writeme.com - 2019-08-02 03:38 -0700
                Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? "touvell@gmail.com" <touvell@gmail.com> - 2019-08-02 06:42 -0700
                Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? "touvell@gmail.com" <touvell@gmail.com> - 2019-08-02 06:54 -0700
                Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? "touvell@gmail.com" <touvell@gmail.com> - 2019-08-02 08:45 -0700
                Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? andrew.roughan@writeme.com - 2019-08-02 23:25 -0700
                Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? "touvell@gmail.com" <touvell@gmail.com> - 2019-08-04 17:40 -0700
                Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? denisbytezone@gmail.com - 2019-08-03 00:54 -0700
                Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? denisbytezone@gmail.com - 2019-08-03 00:58 -0700
                Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? Antoine Vignau <antoine.vignau@laposte.net> - 2019-08-03 05:14 -0700
                Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? "touvell@gmail.com" <touvell@gmail.com> - 2019-08-04 05:19 -0700
                Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? "touvell@gmail.com" <touvell@gmail.com> - 2019-08-04 18:00 -0700
                Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? Andrew Roughan <andrew.roughan@writeme.com> - 2019-08-05 10:38 +0000
                Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? "touvell@gmail.com" <touvell@gmail.com> - 2019-08-05 05:21 -0700
                Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? "touvell@gmail.com" <touvell@gmail.com> - 2019-08-05 09:54 -0700
                Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? Antoine Vignau <antoine.vignau@laposte.net> - 2019-08-05 11:17 -0700
                Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? "touvell@gmail.com" <touvell@gmail.com> - 2019-08-05 15:19 -0700
                Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? Andrew Roughan <andrew.roughan@writeme.com> - 2019-08-06 21:05 +0000
                Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? "touvell@gmail.com" <touvell@gmail.com> - 2019-08-06 17:17 -0700
                Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? "Frank M." <frank_o_rama@hotmail.com> - 2019-08-06 19:09 -0700
                Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? Andrew Roughan <andrew.roughan@writeme.com> - 2019-08-07 13:44 +0000
                Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? Dave Touvell <touvell@gmail.com> - 2019-08-07 09:01 -0700
                Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? Steve Nickolas <usotsuki@buric.co> - 2019-08-08 01:27 -0400
                Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? Dave Touvell <touvell@gmail.com> - 2019-08-10 05:45 -0700
                Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? Steve Nickolas <usotsuki@buric.co> - 2019-08-12 17:53 -0400
                Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? Dave Touvell <touvell@gmail.com> - 2019-08-12 17:28 -0700
                Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? Steve Nickolas <usotsuki@buric.co> - 2019-08-14 04:43 -0400
                Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? Dave Touvell <touvell@gmail.com> - 2019-08-07 08:58 -0700
                Re: Assembler for Learning Assembly Language Programming ORCA kelvin@pro-kegs.uucp (Kelvin Sherlock) - 2019-08-06 22:28 -0500
                Re: Assembler for Learning Assembly Language Programming ORCA "touvell@gmail.com" <touvell@gmail.com> - 2019-08-06 17:23 -0700
            Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? "touvell@gmail.com" <touvell@gmail.com> - 2019-08-05 21:41 -0700
              Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? Antoine Vignau <antoine.vignau@laposte.net> - 2019-08-06 13:12 -0700
                Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? "touvell@gmail.com" <touvell@gmail.com> - 2019-08-06 17:11 -0700
                Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? Dave Touvell <touvell@gmail.com> - 2019-08-14 03:56 -0700
                Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? Antoine Vignau <antoine.vignau@laposte.net> - 2019-08-14 12:15 -0700
                Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? Dave Touvell <touvell@gmail.com> - 2019-08-14 14:38 -0700
                Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? Antoine Vignau <antoine.vignau@laposte.net> - 2019-08-19 22:12 -0700
                Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? Dave Touvell <touvell@gmail.com> - 2019-08-20 04:58 -0700
                Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? Dave Touvell <touvell@gmail.com> - 2019-08-20 15:43 -0700
                Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? Antoine Vignau <antoine.vignau@laposte.net> - 2019-08-20 22:49 -0700
                Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? denisbytezone@gmail.com - 2019-08-21 14:28 -0700
                Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? Antoine Vignau <antoine.vignau@laposte.net> - 2019-08-21 18:08 -0700
                Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? Dave Touvell <touvell@gmail.com> - 2019-08-21 18:23 -0700
                Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? Dave Touvell <apple2info.net@gmail.com> - 2021-12-15 17:58 -0800
                Woz learns assembly language D Finnigan <dog_cow@macgui.com> - 2021-12-16 03:28 +0000
                Re: Woz learns assembly language awanderin <awanderin@gmail.com> - 2021-12-16 00:41 -0700
                Re: Woz learns assembly language Michael J. Mahon <mjmahon@aol.com> - 2021-12-18 01:16 -0600
          Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? Andy McFadden <thefadden@gmail.com> - 2019-08-01 08:05 -0700
            Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? "touvell@gmail.com" <touvell@gmail.com> - 2019-08-01 16:12 -0700
          Re: Assembler for Learning Assembly Language Programming ORCA vsMerlin vs ??? eeastman <eeastman@gmail.com> - 2019-08-02 09:26 -0700

csiph-web