Question about Computers & Internet

2 Answers

I want 2 pass assembler code in c or c++ - Computers & Internet

Posted by on

2 Answers

  • Level 1:

    An expert who has achieved level 1.

    Mayor:

    An expert whose answer got voted for 2 times.

  • Contributor
  • 2 Answers

What do you mean by pass?

Depending on your compiler, you can inline assembly statements. For Microsoft Visual Studio C/C++ the syntax is:

__asm push eax

or

__asm {
push eax
pop eax
}

If you want to link to assembly routines that you separately compiled via an assembler... that is a little bit more complicated:

In your C or C++ program declare your assembly routine:

extern "C" { void __stdcall example(); }


This gives it standard C linkage (which will turn off name decoration), and tells your compiler that the function is external (i.e. won't be available until link time).


In your assembly file:

.386
.model flat
.code

public _example

_example proc

ret

_example endp

end

After assembling your .asm file, you will need to tell your linker to include the resulting .obj file. This varies by environment, but for Microsoft Visual Studio you can add it under Project Properties, 'Linker', 'Input', 'Additional Dependencies'. You may get linker errors, in which case you should double check your assembler options to make sure you are generating case sensitive names.

Posted on Apr 24, 2009

  • Level 1:

    An expert who has achieved level 1.

  • Contributor
  • 1 Answer

Give me a project's solution for 2 pass assembler support in SIC/XE machine and that can enables for program blocks,control sections,litterals
etc.

Posted on Jan 09, 2012

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
goodluck!

Posted on Jan 02, 2017

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

F1 code means what?


Keypad/User Interface Failure

F then 2 flashes when in:
Diagnostics Test mode if a stuck key is detected.
Standby mode if there is a user interface mismatch.
DISPLAY (Saved Code) EXPLANATION AND RECOMMENDED PROCEDURE

Console and Indicators
This test is performed when any of the following situations occurs during the Console and Indicators Diagnostic Test:


None of the indicators light up No beep sound is heard Some buttons do not light indicators None of the indicators light up:
1. Perform steps in Accessing & Removing the Electronic Assemblies, and visually check that the P11 connector is inserted all the way into the machine/motor control.
2. Visually check that the user interface assembly is properly inserted in the console assembly
3. If both visual checks pass, replace the user interface assembly.
4. Plug in washer or reconnect power.
5. Activate the Console and Indicators Diagnostic Test mode to verify repair.
6. If indicators still do not light, the machine/ motor control has failed: Unplug washer or disconnect power. Replace the machine/motor control assembly.
Plug in washer or reconnect power. Activate the Console and Indicators Diagnostic Test mode to verify repair.

No beep sound is heard:
1. Perform steps in Accessing & Removing the Electronic Assemblies, and visually check that the P5 connector is inserted all the way into the machine/motor control. If visual check passes, replace the user interface assembly.
2. Plug in washer or reconnect power.
3. Activate the Console and Indicators Diagnostic Test mode to verify repair.
4. If replacing the user interface assembly failed: Unplug washer or disconnect power. Replace the machine/motor control assembly. Plug in washer or reconnect power. Activate the Console and Indicators Diagnostic Test mode to verify repair.


Some buttons do not light indicators:
1. Perform steps in Accessing & Removing the Electronic Assemblies, and visually check that the console electronics and housing assembly is properly inserted
into the front console. If visual check passes, replace the user interface assembly.
2. Plug in washer or reconnect power.
3. Activate the Console and Indicators Diagnostic Test mode to verify repair.


Thanks for using FixYa - a 4 THUMBS rating is appreciated for answering your FREE question.

Jun 24, 2010 | Whirlpool Cabrio WTW6600SBT Top Load...

1 Answer

Error code F1 and UL


Keypad/User Interface Failure

F then 2 flashes when in:
Diagnostics Test mode if a stuck key is detected.
Standby mode if there is a user interface mismatch.
DISPLAY (Saved Code) EXPLANATION AND RECOMMENDED PROCEDURE

Console and Indicators
This test is performed when any of the following situations occurs during the Console and Indicators Diagnostic Test:


None of the indicators light up No beep sound is heard Some buttons do not light indicators None of the indicators light up:
1. Perform steps in Accessing & Removing the Electronic Assemblies, and visually check that the P11 connector is inserted all the way into the machine/motor control.
2. Visually check that the user interface assembly is properly inserted in the console assembly
3. If both visual checks pass, replace the user interface assembly.
4. Plug in washer or reconnect power.
5. Activate the Console and Indicators Diagnostic Test mode to verify repair.
6. If indicators still do not light, the machine/ motor control has failed: Unplug washer or disconnect power. Replace the machine/motor control assembly.
Plug in washer or reconnect power. Activate the Console and Indicators Diagnostic Test mode to verify repair.

No beep sound is heard:
1. Perform steps in Accessing & Removing the Electronic Assemblies, and visually check that the P5 connector is inserted all the way into the machine/motor control. If visual check passes, replace the user interface assembly.
2. Plug in washer or reconnect power.
3. Activate the Console and Indicators Diagnostic Test mode to verify repair.
4. If replacing the user interface assembly failed: Unplug washer or disconnect power. Replace the machine/motor control assembly. Plug in washer or reconnect power. Activate the Console and Indicators Diagnostic Test mode to verify repair.


Some buttons do not light indicators:
1. Perform steps in Accessing & Removing the Electronic Assemblies, and visually check that the console electronics and housing assembly is properly inserted
into the front console. If visual check passes, replace the user interface assembly.
2. Plug in washer or reconnect power.
3. Activate the Console and Indicators Diagnostic Test mode to verify repair.


Thanks for using FixYa - a 4 THUMBS rating is appreciated for answering your FREE question.*%#

Jun 13, 2010 | Whirlpool Cabrio WTW6600SBT Top Load...

1 Answer

Whirlpool cabrio is giving a code which is f1,


Keypad/User Interface Failure

F then 2 flashes when in:
Diagnostics Test mode if a stuck key is detected.
Standby mode if there is a user interface mismatch.
DISPLAY (Saved Code) EXPLANATION AND RECOMMENDED PROCEDURE

Console and Indicators
This test is performed when any of the following situations occurs during the Console and Indicators Diagnostic Test:


None of the indicators light up No beep sound is heard Some buttons do not light indicators None of the indicators light up:
1. Perform steps in Accessing & Removing the Electronic Assemblies, and visually check that the P11 connector is inserted all the way into the machine/motor control.
2. Visually check that the user interface assembly is properly inserted in the console assembly
3. If both visual checks pass, replace the user interface assembly.
4. Plug in washer or reconnect power.
5. Activate the Console and Indicators Diagnostic Test mode to verify repair.
6. If indicators still do not light, the machine/ motor control has failed: Unplug washer or disconnect power. Replace the machine/motor control assembly.
Plug in washer or reconnect power. Activate the Console and Indicators Diagnostic Test mode to verify repair.

No beep sound is heard:
1. Perform steps in Accessing & Removing the Electronic Assemblies, and visually check that the P5 connector is inserted all the way into the machine/motor control. If visual check passes, replace the user interface assembly.
2. Plug in washer or reconnect power.
3. Activate the Console and Indicators Diagnostic Test mode to verify repair.
4. If replacing the user interface assembly failed: Unplug washer or disconnect power. Replace the machine/motor control assembly. Plug in washer or reconnect power. Activate the Console and Indicators Diagnostic Test mode to verify repair.


Some buttons do not light indicators:
1. Perform steps in Accessing & Removing the Electronic Assemblies, and visually check that the console electronics and housing assembly is properly inserted
into the front console. If visual check passes, replace the user interface assembly.
2. Plug in washer or reconnect power.
3. Activate the Console and Indicators Diagnostic Test mode to verify repair.


Thanks for using FixYa - a 4 THUMBS rating is appreciated for answering your FREE question.

Jun 05, 2010 | Whirlpool Cabrio WTW6600SBT Top Load...

1 Answer

Cabrio WTW6600SBT Top Load Washer: f1 error code on WTW6600SBT. It happens at the st...


Keypad/User Interface Failure

F then 2 flashes when in:
Diagnostics Test mode if a stuck key is detected.
Standby mode if there is a user interface mismatch.
DISPLAY (Saved Code) EXPLANATION AND RECOMMENDED PROCEDURE

Console and Indicators
This test is performed when any of the following situations occurs during the Console and Indicators Diagnostic Test:


None of the indicators light up No beep sound is heard Some buttons do not light indicators None of the indicators light up:
1. Perform steps in Accessing & Removing the Electronic Assemblies, and visually check that the P11 connector is inserted all the way into the machine/motor control.
2. Visually check that the user interface assembly is properly inserted in the console assembly
3. If both visual checks pass, replace the user interface assembly.
4. Plug in washer or reconnect power.
5. Activate the Console and Indicators Diagnostic Test mode to verify repair.
6. If indicators still do not light, the machine/ motor control has failed: Unplug washer or disconnect power. Replace the machine/motor control assembly.
Plug in washer or reconnect power. Activate the Console and Indicators Diagnostic Test mode to verify repair.

No beep sound is heard:
1. Perform steps in Accessing & Removing the Electronic Assemblies, and visually check that the P5 connector is inserted all the way into the machine/motor control. If visual check passes, replace the user interface assembly.
2. Plug in washer or reconnect power.
3. Activate the Console and Indicators Diagnostic Test mode to verify repair.
4. If replacing the user interface assembly failed: Unplug washer or disconnect power. Replace the machine/motor control assembly. Plug in washer or reconnect power. Activate the Console and Indicators Diagnostic Test mode to verify repair.


Some buttons do not light indicators:
1. Perform steps in Accessing & Removing the Electronic Assemblies, and visually check that the console electronics and housing assembly is properly inserted
into the front console. If visual check passes, replace the user interface assembly.
2. Plug in washer or reconnect power.
3. Activate the Console and Indicators Diagnostic Test mode to verify repair.


Thanks for using FixYa - a 4 THUMBS rating is appreciated for answering your FREE question.@$

May 18, 2010 | Whirlpool Cabrio WTW6600SBT Top Load...

1 Answer

Error code F1


Keypad/User Interface Failure

F then 2 flashes when in:
Diagnostics Test mode if a stuck key is detected.
Standby mode if there is a user interface mismatch.
DISPLAY (Saved Code) EXPLANATION AND RECOMMENDED PROCEDURE

Console and Indicators
This test is performed when any of the following situations occurs during the Console and Indicators Diagnostic Test:


None of the indicators light up No beep sound is heard Some buttons do not light indicators None of the indicators light up:
1. Perform steps in Accessing & Removing the Electronic Assemblies, and visually check that the P11 connector is inserted all the way into the machine/motor control.
2. Visually check that the user interface assembly is properly inserted in the console assembly
3. If both visual checks pass, replace the user interface assembly.
4. Plug in washer or reconnect power.
5. Activate the Console and Indicators Diagnostic Test mode to verify repair.
6. If indicators still do not light, the machine/ motor control has failed: Unplug washer or disconnect power. Replace the machine/motor control assembly.
Plug in washer or reconnect power. Activate the Console and Indicators Diagnostic Test mode to verify repair.

No beep sound is heard:
1. Perform steps in Accessing & Removing the Electronic Assemblies, and visually check that the P5 connector is inserted all the way into the machine/motor control. If visual check passes, replace the user interface assembly.
2. Plug in washer or reconnect power.
3. Activate the Console and Indicators Diagnostic Test mode to verify repair.
4. If replacing the user interface assembly failed: Unplug washer or disconnect power. Replace the machine/motor control assembly. Plug in washer or reconnect power. Activate the Console and Indicators Diagnostic Test mode to verify repair.


Some buttons do not light indicators:
1. Perform steps in Accessing & Removing the Electronic Assemblies, and visually check that the console electronics and housing assembly is properly inserted
into the front console. If visual check passes, replace the user interface assembly.
2. Plug in washer or reconnect power.
3. Activate the Console and Indicators Diagnostic Test mode to verify repair.


Thanks for using FixYa - a 4 THUMBS rating is appreciated for answering your FREE question.

Apr 22, 2010 | Whirlpool Cabrio WTW6600SBT Top Load...

1 Answer

Code F1


Keypad/User Interface Failure

F then 2 flashes when in:
Diagnostics Test mode if a stuck key is detected.
Standby mode if there is a user interface mismatch.
DISPLAY (Saved Code) EXPLANATION AND RECOMMENDED PROCEDURE

Console and Indicators
This test is performed when any of the following situations occurs during the Console and Indicators Diagnostic Test:


None of the indicators light up No beep sound is heard Some buttons do not light indicators None of the indicators light up:
1. Perform steps in Accessing & Removing the Electronic Assemblies, and visually check that the P11 connector is inserted all the way into the machine/motor control.
2. Visually check that the user interface assembly is properly inserted in the console assembly
3. If both visual checks pass, replace the user interface assembly.
4. Plug in washer or reconnect power.
5. Activate the Console and Indicators Diagnostic Test mode to verify repair.
6. If indicators still do not light, the machine/ motor control has failed: Unplug washer or disconnect power. Replace the machine/motor control assembly.
Plug in washer or reconnect power. Activate the Console and Indicators Diagnostic Test mode to verify repair.

No beep sound is heard:
1. Perform steps in Accessing & Removing the Electronic Assemblies, and visually check that the P5 connector is inserted all the way into the machine/motor control. If visual check passes, replace the user interface assembly.
2. Plug in washer or reconnect power.
3. Activate the Console and Indicators Diagnostic Test mode to verify repair.
4. If replacing the user interface assembly failed: Unplug washer or disconnect power. Replace the machine/motor control assembly. Plug in washer or reconnect power. Activate the Console and Indicators Diagnostic Test mode to verify repair.


Some buttons do not light indicators:
1. Perform steps in Accessing & Removing the Electronic Assemblies, and visually check that the console electronics and housing assembly is properly inserted
into the front console. If visual check passes, replace the user interface assembly.
2. Plug in washer or reconnect power.
3. Activate the Console and Indicators Diagnostic Test mode to verify repair.


Thanks for using FixYa - a 4 THUMBS rating is appreciated for answering your FREE question.

Jan 05, 2010 | Whirlpool Cabrio WTW6600SBT Top Load...

1 Answer

F1 code Whirlpool cabrio


Keypad/User Interface Failure

F then 2 flashes when in:
Diagnostics Test mode if a stuck key is detected.
Standby mode if there is a user interface mismatch.
DISPLAY (Saved Code) EXPLANATION AND RECOMMENDED PROCEDURE

Console and Indicators
This test is performed when any of the following situations occurs during the Console and Indicators Diagnostic Test:


None of the indicators light up No beep sound is heard Some buttons do not light indicators None of the indicators light up:
1. Perform steps in Accessing & Removing the Electronic Assemblies, and visually check that the P11 connector is inserted all the way into the machine/motor control.
2. Visually check that the user interface assembly is properly inserted in the console assembly
3. If both visual checks pass, replace the user interface assembly.
4. Plug in washer or reconnect power.
5. Activate the Console and Indicators Diagnostic Test mode to verify repair.
6. If indicators still do not light, the machine/ motor control has failed: Unplug washer or disconnect power. Replace the machine/motor control assembly.
Plug in washer or reconnect power. Activate the Console and Indicators Diagnostic Test mode to verify repair.

No beep sound is heard:
1. Perform steps in Accessing & Removing the Electronic Assemblies, and visually check that the P5 connector is inserted all the way into the machine/motor control. If visual check passes, replace the user interface assembly.
2. Plug in washer or reconnect power.
3. Activate the Console and Indicators Diagnostic Test mode to verify repair.
4. If replacing the user interface assembly failed: Unplug washer or disconnect power. Replace the machine/motor control assembly. Plug in washer or reconnect power. Activate the Console and Indicators Diagnostic Test mode to verify repair.


Some buttons do not light indicators:
1. Perform steps in Accessing & Removing the Electronic Assemblies, and visually check that the console electronics and housing assembly is properly inserted
into the front console. If visual check passes, replace the user interface assembly.
2. Plug in washer or reconnect power.
3. Activate the Console and Indicators Diagnostic Test mode to verify repair.


Thanks for using FixYa - a 4 THUMBS rating is appreciated for answering your FREE question.

Oct 19, 2009 | Whirlpool Cabrio WTW6600SBT Top Load...

1 Answer

Cabrio top loader, F1 code


Keypad/User Interface Failure

F then 2 flashes when in:
Diagnostics Test mode if a stuck key is detected.
Standby mode if there is a user interface mismatch.
DISPLAY (Saved Code) EXPLANATION AND RECOMMENDED PROCEDURE

Console and Indicators
This test is performed when any of the following situations occurs during the Console and Indicators Diagnostic Test:


None of the indicators light up No beep sound is heard Some buttons do not light indicators None of the indicators light up:
1. Perform steps in Accessing & Removing the Electronic Assemblies, and visually check that the P11 connector is inserted all the way into the machine/motor control.
2. Visually check that the user interface assembly is properly inserted in the console assembly
3. If both visual checks pass, replace the user interface assembly.
4. Plug in washer or reconnect power.
5. Activate the Console and Indicators Diagnostic Test mode to verify repair.
6. If indicators still do not light, the machine/ motor control has failed: Unplug washer or disconnect power. Replace the machine/motor control assembly.
Plug in washer or reconnect power. Activate the Console and Indicators Diagnostic Test mode to verify repair.

No beep sound is heard:
1. Perform steps in Accessing & Removing the Electronic Assemblies, and visually check that the P5 connector is inserted all the way into the machine/motor control. If visual check passes, replace the user interface assembly.
2. Plug in washer or reconnect power.
3. Activate the Console and Indicators Diagnostic Test mode to verify repair.
4. If replacing the user interface assembly failed: Unplug washer or disconnect power. Replace the machine/motor control assembly. Plug in washer or reconnect power. Activate the Console and Indicators Diagnostic Test mode to verify repair.


Some buttons do not light indicators:
1. Perform steps in Accessing & Removing the Electronic Assemblies, and visually check that the console electronics and housing assembly is properly inserted
into the front console. If visual check passes, replace the user interface assembly.
2. Plug in washer or reconnect power.
3. Activate the Console and Indicators Diagnostic Test mode to verify repair.


Thanks for using FixYa - a 4 THUMBS rating is appreciated for answering your FREE question.

Jul 12, 2009 | Whirlpool Cabrio WTW6600SBT Top Load...

1 Answer

WTW 66005W1 cabrio, F1 error code.?????Machine error code at start and during rinse cycle. What is causing this? Any quick fix?


Keypad/User Interface Failure

F then 2 flashes when in:
Diagnostics Test mode if a stuck key is detected.
Standby mode if there is a user interface mismatch.
DISPLAY (Saved Code) EXPLANATION AND RECOMMENDED PROCEDURE

Console and Indicators
This test is performed when any of the following situations occurs during the Console and Indicators Diagnostic Test:


None of the indicators light up No beep sound is heard Some buttons do not light indicators None of the indicators light up:
1. Perform steps in Accessing & Removing the Electronic Assemblies, and visually check that the P11 connector is inserted all the way into the machine/motor control.
2. Visually check that the user interface assembly is properly inserted in the console assembly
3. If both visual checks pass, replace the user interface assembly.
4. Plug in washer or reconnect power.
5. Activate the Console and Indicators Diagnostic Test mode to verify repair.
6. If indicators still do not light, the machine/ motor control has failed: Unplug washer or disconnect power. Replace the machine/motor control assembly.
Plug in washer or reconnect power. Activate the Console and Indicators Diagnostic Test mode to verify repair.

No beep sound is heard:
1. Perform steps in Accessing & Removing the Electronic Assemblies, and visually check that the P5 connector is inserted all the way into the machine/motor control. If visual check passes, replace the user interface assembly.
2. Plug in washer or reconnect power.
3. Activate the Console and Indicators Diagnostic Test mode to verify repair.
4. If replacing the user interface assembly failed: Unplug washer or disconnect power. Replace the machine/motor control assembly. Plug in washer or reconnect power. Activate the Console and Indicators Diagnostic Test mode to verify repair.


Some buttons do not light indicators:
1. Perform steps in Accessing & Removing the Electronic Assemblies, and visually check that the console electronics and housing assembly is properly inserted
into the front console. If visual check passes, replace the user interface assembly.
2. Plug in washer or reconnect power.
3. Activate the Console and Indicators Diagnostic Test mode to verify repair.


Thanks for using FixYa - a 4 THUMBS rating is appreciated for answering your FREE question.

Jul 11, 2009 | Whirlpool Cabrio WTW6600SBT Top Load...

1 Answer

Whirlpool CABRIO WTW6400SW2 Washer shows F1 code


Keypad/User Interface Failure

F then 2 flashes when in:
Diagnostics Test mode if a stuck key is detected.
Standby mode if there is a user interface mismatch.
DISPLAY (Saved Code) EXPLANATION AND RECOMMENDED PROCEDURE

Console and Indicators
This test is performed when any of the following situations occurs during the Console and Indicators Diagnostic Test:


None of the indicators light up No beep sound is heard Some buttons do not light indicators None of the indicators light up:
1. Perform steps in Accessing & Removing the Electronic Assemblies, and visually check that the P11 connector is inserted all the way into the machine/motor control.
2. Visually check that the user interface assembly is properly inserted in the console assembly
3. If both visual checks pass, replace the user interface assembly.
4. Plug in washer or reconnect power.
5. Activate the Console and Indicators Diagnostic Test mode to verify repair.
6. If indicators still do not light, the machine/ motor control has failed: Unplug washer or disconnect power. Replace the machine/motor control assembly.
Plug in washer or reconnect power. Activate the Console and Indicators Diagnostic Test mode to verify repair.

No beep sound is heard:
1. Perform steps in Accessing & Removing the Electronic Assemblies, and visually check that the P5 connector is inserted all the way into the machine/motor control. If visual check passes, replace the user interface assembly.
2. Plug in washer or reconnect power.
3. Activate the Console and Indicators Diagnostic Test mode to verify repair.
4. If replacing the user interface assembly failed: Unplug washer or disconnect power. Replace the machine/motor control assembly. Plug in washer or reconnect power. Activate the Console and Indicators Diagnostic Test mode to verify repair.


Some buttons do not light indicators:
1. Perform steps in Accessing & Removing the Electronic Assemblies, and visually check that the console electronics and housing assembly is properly inserted
into the front console. If visual check passes, replace the user interface assembly.
2. Plug in washer or reconnect power.
3. Activate the Console and Indicators Diagnostic Test mode to verify repair.


Thanks for using FixYa - a 4 THUMBS rating is appreciated for answering your FREE question.@#$%

Apr 08, 2009 | Whirlpool WTW6400SW Cabrio Washer

Not finding what you are looking for?
Computers & Internet Logo

Related Topics:

1,939 people viewed this question

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Doctor PC
Doctor PC

Level 3 Expert

7733 Answers

kakima

Level 3 Expert

102366 Answers

David Payne
David Payne

Level 3 Expert

14161 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...