Re: A challenge for RosAsm




"hutch--"

| Low Level
| :B8 40
| :00 00
| :00 C1
| :E8 03
|
| High Level
| db 0B8h,40h
| db 0,0
| db 0,0C1h
| db 0E8h,3
|
| Guess what the answer is ?

No need for guessing:
use32
mov eax,0040h
shr eax 3
; eax = 8

and my 'low level' displays:

b800000000
c1e803
______________
while MASM may have got a Procedure styled library function for it,
and C+/- will need several text-lines to calculate a stackframe first,
HLA-pupils may 'speed it up' by inserting a AND eax,eax |JZ ..,

I would have just mov eax,8 in my code.
__
wolfgang



.



Relevant Pages

  • Re: A challenge for RosAsm
    ... | Low Level ... | High Level ... | hutch at movsd dot com ... Prev by Date: ...
    (alt.lang.asm)
  • Re: Emergence: Answers to Don and Curt
    ... then you can go upwards and predict all high level effects (assuming ... our understanding of the low level - so that in time, ... the better our ability is to check our low level abstractions against the ... complex high level emergent effects with nothing in between. ...
    (comp.ai.philosophy)
  • Re: Consciousness: whats the problem?
    ... then you can go upwards and predict all high level effects (assuming ... our understanding of the low level - so that in time, ... the better our ability is to check our low level abstractions against the ... complex high level emergent effects with nothing in between. ...
    (comp.ai.philosophy)
  • Re: Layers, Levels, and DIP
    ... >> Consider the Dependency Inversion Principle. ... Yet the layering principle says that high level layers should ... >> depend upon low level layers. ... "high level policy" the parent interface for child classes. ...
    (comp.object)
  • Re: natural intelligence
    ... "We understand the high level stuff but not the low ... process (mental model) which 100% predicts the machines behavior. ... And like wise, if we did understand human behavior, we would have a process ... have access to the low level so you can't talk about ...
    (comp.ai.philosophy)