|
From: //o//annabee on 8 Jan 2008 23:20 P� Tue, 08 Jan 2008 11:09:04 -0800, skrev Wolfgang Kern <nowhere(a)never.at>: > > Wannabee skrev: > ... >>> Telekinesis ? >>> Out of handicapped support: >>> Just use two (stereoscope) webcams which follow your eye focus, > >> Is that what was left of the research I heard of with the diodes >> attached to the front of the head in order to move the mouse by >> detecting the muscles that would move when you got angry enough? > > We still have something similar in use, but EMG/EEG-controlled > devices joined in the scenario recently and they work astonishing well. < http://dsplab.eng.fiu.edu/DSP/Publications/publication.asp?num=60 > Like this? I want one. Then I can program from my bed, and not even having to get up. Then I should mostly be rested when coding, and if not sleepy, code. > __ > wolfgang > > >
From: Ratch on 8 Jan 2008 16:36 "//\\o//\\annabee" <w(a)www.akow> wrote in message news:op.t4m00ajdwzh472(a)cyh1axtn1428g42... > P� Tue, 08 Jan 2008 08:02:09 -0800, skrev Ratch <watchit(a)comcast.net>: > >> >> "James Van Buskirk" <not_valid(a)comcast.net> wrote in message >> news:CY2dnZhK1Ikysx7anZ2dnUVZ_hWdnZ2d(a)comcast.com... >>> "Ratch" <watchit(a)comcast.net> wrote in message >>> news:18idnUQYntrtmB7anZ2dnUVZ_tajnZ2d(a)comcast.com... >>> >>>> Assuming it is MASM code, the instruction will error because you >>>> are >>>> using a directive (OFFSET) in a nonsensical way. Describe what you are >>>> trying to do. My assertion is that MASM can generate every coding that >>>> the CPU is able to execute. Ratch >>> >>> C:\>link /dump /disasm add2.obj >>> Microsoft (R) COFF/PE Dumper Version 8.00.40310.39 >>> Copyright (C) Microsoft Corporation. All rights reserved. >>> >>> >>> Dump of file add2.obj >>> >>> File Type: COFF OBJECT >>> >>> testme: >>> 00000000: 01 D8 add eax,ebx >>> 00000002: 03 C3 add eax,ebx >>> 00000004: C3 ret >> >> So? They are equivalent instructions. Who cares if the op codes >> are >> different? > > Assembly programmers .... Why? Ratch > > > Here's what I get when I try that with MASM. Ratch >> >> 00000000 03 C3 ADD EAX,EBX >> 00000002 03 C3 ADD EAX,EBX >> 00000004 C3 RET >> >> >
From: Ratch on 8 Jan 2008 17:28 "Wolfgang Kern" <nowhere(a)never.at> wrote in message news:fm0hqv$tj5$1(a)newsreader1.xoc.utanet.at... > > Ratch wrote: > ... >>>> My assertion is that MASM can generate every coding that the >>>> CPU is able to execute. Ratch > >>> We all know that this is possible, but you may know much better than >>> a confused newbie which addressing modes need workarounds and what's >>> not all in the 'reserved' list. > >> The reserved word list is documented. What addressing modes need "work >> arounds"? Ratch > > MOV eax,label ;should compile to B8.... mov eax,imm32 Why? Why should it assemble to an address with relocation by default. It makes just as much sense to assemble so as to load the contents at the label address. That's what it does. If you want the label address, use the OFFSET directive. Either way, a load from a label is not a imm32. There is relocation involved. See below. > MOV eax,[label] ;should compile to A1.... mov eax,[imm32] As so it does, with relocation. A constant does not have relocation. See 'R' flags below. > > AFAIK MASM needs either a 'ptr' or an 'offset' directive and may confuse MASM can't read your mind. It needs to know the size of the operand so as to select the correct op code and check for errors. Doesn't any assembler? > itself with the brackets and more if 'label' isn't declared as a dword. Show me. Ratch > 00000010 00000003 LAB1 DWORD 3 00000000 .CODE 00000000 START: 00000000 TESTME: 00000000 B8 00000010 R MOV EAX,OFFSET LAB1 00000005 A1 00000010 R MOV EAX,LAB1 0000000A A1 00000010 R MOV EAX,[LAB1] 0000000F B8 00000010 MOV EAX,4*DWORD
From: Greg on 9 Jan 2008 03:20 hello everyone just thought i should ask, what is the job market for assembly programmers the world over i am not really learning assembly programming for the sake of getting a better job but moreso because I like the concept of programming for assemblies and kernels and the like. so back to my question what is the job market for assembly programmers the world over. especially with the assumption that most of you are probably doing this for a living. cheers greg
From: James Van Buskirk on 9 Jan 2008 04:22
"Ratch" <watchit(a)comcast.net> wrote in message news:dPadnQFrvOEdAx7anZ2dnUVZ_uidnZ2d(a)comcast.com... > So? They are equivalent instructions. Who cares if the op codes are > different? Here's what I get when I try that with MASM. Ratch C:\>link /dump /disasm ex2.obj Microsoft (R) COFF/PE Dumper Version 8.00.40310.39 Copyright (C) Microsoft Corporation. All rights reserved. Dump of file ex2.obj File Type: COFF OBJECT testme2: 0000000000000000: A1 9A 78 56 34 12 mov eax,dword ptr [00000012345678 9Ah] 00 00 00 0000000000000009: A1 78 56 34 12 00 mov eax,dword ptr [00000000123456 78h] 00 00 00 0000000000000012: 67 A1 78 56 34 12 mov eax,dword ptr [12345678h] 0000000000000018: 8B 05 78 56 34 12 mov eax,dword ptr [12345696h] 000000000000001E: 8B 04 25 78 56 34 mov eax,dword ptr [12345678h] 12 0000000000000025: 8B 04 65 78 56 34 mov eax,dword ptr [12345678h] 12 000000000000002C: 8B 04 A5 78 56 34 mov eax,dword ptr [12345678h] 12 0000000000000033: 8B 04 E5 78 56 34 mov eax,dword ptr [12345678h] 12 000000000000003A: 40 8B 05 78 56 34 mov eax,dword ptr [123456B9h] 12 0000000000000041: 40 8B 04 25 78 56 mov eax,dword ptr [12345678h] 34 12 0000000000000049: 40 8B 04 65 78 56 mov eax,dword ptr [12345678h] 34 12 0000000000000051: 40 8B 04 A5 78 56 mov eax,dword ptr [12345678h] 34 12 0000000000000059: 40 8B 04 E5 78 56 mov eax,dword ptr [12345678h] 34 12 0000000000000061: C3 ret Summary 62 .code -- write(*,*) transfer((/17.392111325966148d0,6.5794487871554595D-85, & 6.0134700243160014d-154/),(/'x'/)); end |