![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programmer
Join Date: May 2006
Location: Bathroom
Posts: 43
Rep Power: 0
![]() |
Wrong answer
Hi, guy's I took a test today and I got wrong answer. can you gyus tell me why? I chose true.
[HTML]True or False. Given that CL and DL contain SIGNED numbers the code fragment below correctly implements the following pseudocode. Pseudocode: If (CL < DL) then Call less Code Fragment: CMP CL, DL JAE @@COMMON CALL LESS @@COMMON {RAP} a.) True b.) False [/HTML] Thank you. |
|
|
|
|
|
#2 |
|
Professional Programmer
|
JAE is used to deal with signed numbers. I think what you need is JGE
|
|
|
|
|
|
#3 |
|
Professional Programmer
![]() Join Date: Sep 2005
Posts: 419
Rep Power: 3
![]() |
>JAE is used to deal with signed numbers
Other way around. JAE is for unsigned values, JGE is for signed values.
__________________
Even if the voices aren't real, they have some pretty good ideas. |
|
|
|
|
|
#4 |
|
Professional Programmer
|
Good catch Narue
__________________
JG-Webdesign |
|
|
|
|
|
#5 | |
|
Programmer
Join Date: May 2006
Location: Bathroom
Posts: 43
Rep Power: 0
![]() |
Quote:
|
|
|
|
|
|
|
#6 |
|
Professional Programmer
|
You might be able to "use" it but it might not work the way you intend it to
__________________
JG-Webdesign |
|
|
|
|
|
#7 |
|
Programmer
Join Date: May 2006
Location: Bathroom
Posts: 43
Rep Power: 0
![]() |
Yep you can use it with Byte Word or DWord, with 16-bit real mode or 32-bit protected mode, Thanks for traying.
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| What's wrong with this code? | titaniumdecoy | Python | 25 | Jun 12th, 2006 12:46 PM |
| What religion do you have? | nnxion | Coder's Corner Lounge | 302 | May 23rd, 2006 10:48 AM |
| [Python] Simple Comment Stripper | UnKnown X | Show Off Your Open Source Projects | 0 | Feb 10th, 2006 7:57 AM |
| First Python Programme: Fibonacci Finder | UnKnown X | Python | 2 | Dec 15th, 2005 6:19 PM |
| What is wrong with this code? | c0ldshadow | Visual Basic .NET | 5 | Dec 5th, 2005 5:37 PM |