answersLogoWhite

0

What else can I help you with?

Related Questions

What is the C program to append 0 when two consecutive 1's are coming in an input data?

Initialise a flag to false. When a 0 is encountered, set the flag to false. When a 1 is encountered set the flag to true, but if the flag is already true, append the 0 and reset the flag.


Show the bit positions of various flags in 8085 flag register?

The 8085 microprocessor has 5 flags: 1. Zero flag: The zero flag is set, when the ALU operation results a zero . 2. Carry flag: If an arithmetic operations results in a carry, this flag is set. 3. Parity flag: This flag is set, when an arithmetic or logical operation results in a data, which has even number of 1s. If otherwise, it is reset. 4. Sign flag: After the execution of an arithmetic or logic operations, if D7 bit of the accumulator is 1, it indicates a negative number and this flag is set. If otherwise, it is reset. 5. Auxiliary Carry flag: used for BCD Operations, During the BCD operations, if D3 bit producing the carry then the AC bit set as1, otherwise the bit is 0. 6. Carry Flag: when a carry is generated by digit D7, then the carry flag set as 1, otherwise the bit will be 0.


Which Flag can be set or reset by the programmer and also used to control the operation of the processor?

The flag that can be set or reset by the programmer and is used to control the operation of the processor is the Interrupt Flag (IF). It determines whether the processor will respond to hardware interrupts. By manipulating this flag, a programmer can enable or disable interrupt handling, thus controlling the execution flow of the program in response to external events. Other flags, like the Zero Flag (ZF) or Carry Flag (CF), also provide control over processor operations but are primarily set based on the results of arithmetic operations rather than directly manipulated by the programmer.


Explain different types of flags in 8085 microprocessor?

Flags are microprocessor dependent. ie flags are different for different microprocessors. Flag represents the status ( & Type) of the operation performed. Ex: In terms of 8085 we have 5 flags : Zero, Carry, Ac Carry, Parity, Sign Flag register is of 8 bits in this case. These flags can also be used for logic implementation.


What is meant by flag is set or not set in 8085 processor?

The flags are testable conditions that are set after many arithmetic or logical instructions to indicate something about the result of the result. For instance, the Z flag means the result is zero, the N flag means it is negative, the O flag means a signed overflow occurred, the C flag means an unsigned overflow occurred, and the P flag means an even number of bits is set in the result. You can use the various flag testable jump instructions, such as JZ or JNZ to test the flag after performing an operation that sets or resets the flag.


How do you reset the TSA lock on your luggage?

To reset the TSA lock on your luggage, first make sure the lock is set to the default combination. Then, use a pen or similar tool to press and hold the reset button on the lock. While holding the button, set your desired combination. Release the reset button and your new combination should be set.


How do you write flag status in program?

for example:int flag= 0; /* 0/1 = unset/set */...printf ("flag=%d which means %s\n", flag, flag? "set": "unset");


When will be the carry flag set?

if the result of an arithmetic operation, consists a carry then the carry flag is set


What is flag manipulation instructions?

flag manipulation instructions are which changes the flag conditions for example STC - set the carry flag STI - set the interrupt flag so interrupts will be enabled SATISH MN


Is there such a term as resetted?

No, the correct term is "reset". That's because the past participle of the verb "set" is just "set" itself (e.g. "I have set ..."). Since "reset" is based on "set", its past participle is also "reset".


How do you set the time on a sharp shp 3163 watch?

Presumably at the 2 and 10 o'clock positions it maximizes the display of the other parts of the dial and its complications - such as a day-date window, moon phase window, or chronograph (stopwatch).


Does any one no how to work the trip computer on a xjs 1990?

mls/km - switches between metric and imperial units RESET - Press for 5 seconds to set all displays to zero DISP - Switches display on/off TIME - Press to show time of day, press again to show driving time since last reset AVE SPD - Average speed since last reset DIST - Distance since last reset AVE - Average fuel consumption since last reset INST - Current fuel consumption FUEL - fuel consumed since last reset Use the RESET and TIME to set the hours Use the RESET and DISP to set the minutes