Re: Question about jumps




Frank Kotler wrote:
rhyde@xxxxxxxxxx wrote:

...
Then you can learn about
conditional jump instructions. *THEN* you can learn how to synthesize
statements like IF using those conditional jump instructions. One step
at a time. Without being hamstrung by a lack of knowledge early on in
the educational process.

I would point out that Markus' implementation of the conditional jump
was fine - using real instructions. AoA's introduction of nonexistant
instructions solves a problem he doesn't have.

The problem is the fact that he is not comfortable with his
implementation. This displays a lack of confidence in what he is doing.
That's the point I'm trying to make. If you start with the basic
instructions (like MOV, ADD, SUB, etc.), master those, then move up to
the next step, master those, and continue working forward, you develop
a strong confidence in what you're doing. My take on the situation,
which I've seen many times before, is that students start trying lots
of different things and don't realize where their problems lie. What
Markus is going through is *very* typical of what students were going
through when I was teaching with MASM and having to throw a ton of
different instructions at them at once.
Cheers,
Randy Hyde

.



Relevant Pages

  • Re: Min/max function (saturation)
    ... Here you always have to execute 13 instructions ... conditional jump one turns out to be 20% faster than the non-branched ... I should not be so obsessed with getting rid of the branches :-) ...
    (alt.lang.asm)
  • Re: Teaching Assembly Language Programming
    ... focusing on learning assembly language. ... distraction for many students: nightly keggers. ... programming projects around the things I wanted the ... The chapter on floating-point instructions would deprecate the use ...
    (alt.lang.asm)
  • Re: HLA v1.86 is now available
    ... because during that first week the students probably don't even ... Let's start with the instructions Evenbit used in his example: ... language course -- they can call a subroutine using syntax that is ... you have no experience teaching students assembly language ...
    (alt.lang.asm)
  • Re: Why I stop attacking HLA
    ... To me using instructions like cmp and the basic jcc is pure logic, ... You can always *push* one subject ... You should not explain so many instructions without giving students the ... > past when using MASM or some other x86 assembler. ...
    (alt.lang.asm)
  • Re: Avid Juicy 7 or 5 - bleeding the Master Cylinder and Reservoir _ guidance requested
    ... make sure to bleed from the caliper up tot he master cyclinder as ... I have the bleed kit with two sets of instructions. ... to slide off the master cylinder reservoir cover." ... which matches the rest of the lever assembly. ...
    (rec.bicycles.tech)