32-bit

Error C2432 illegal reference to 16-bit data in 'second operand' of __asm

两盒软妹~` 提交于 2020-01-30 13:11:50
问题 In Visual Studio, I get this error when I compile my __asm in C. Does anybody know what is wrong with this code? I tried everything, but nothing works. I am trying to implement the bubble sort in assembly. unsigned short i = 0; unsigned short j = 0; unsigned short max = short(N-2); unsigned short tab[5]; tab[0] = 54; tab[1] = 123; tab[2] = 342; tab[3] = 5436; tab[4] = 1234; unsigned short a = 0; __asm { loop1: inc i mov j, 0 mov si, tab loop2: mov ax, [si] // <- Error C2432 on this line mov a

is it possible to run 64 bit code in a machine with 32 bit processor?

余生颓废 提交于 2020-01-24 06:24:55
问题 I have searched around to get the answers for these questions. but not much luck. Is it possible to run 32-bit code in a machine with 64-bit processor ? The answer seems to be yes. but there is a debate on performance issues, since 32-bits are left unused on the processor. Now my question is vice-versa, Is it possible to run 64-bit code in a machine with 32-bit processor? from my little understanding, the answer is NO, because the code designed to run on 64-bit will be using 64-process

Creating 32 bit JavaFx Native Bundle in 64 bit machine

两盒软妹~` 提交于 2020-01-22 12:22:25
问题 I have my machine and IDE with following configuration Product Version: NetBeans IDE 7.2 (Build 201207171143) Java: 1.7.0_07; Java HotSpot(TM) 64-Bit Server VM 23.3-b01 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb) The JavaFx bundle (.exe) created during build is of 64 bit. My users are in 32 bit machine so I need to create bundles in 32 bit. Is there any way I can create 32 bit exe files using my machine Tried downloding 32 bit JDK and pointed the same in the project

Creating 32 bit JavaFx Native Bundle in 64 bit machine

北战南征 提交于 2020-01-22 12:22:24
问题 I have my machine and IDE with following configuration Product Version: NetBeans IDE 7.2 (Build 201207171143) Java: 1.7.0_07; Java HotSpot(TM) 64-Bit Server VM 23.3-b01 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb) The JavaFx bundle (.exe) created during build is of 64 bit. My users are in 32 bit machine so I need to create bundles in 32 bit. Is there any way I can create 32 bit exe files using my machine Tried downloding 32 bit JDK and pointed the same in the project

Creating 32 bit JavaFx Native Bundle in 64 bit machine

两盒软妹~` 提交于 2020-01-22 12:22:20
问题 I have my machine and IDE with following configuration Product Version: NetBeans IDE 7.2 (Build 201207171143) Java: 1.7.0_07; Java HotSpot(TM) 64-Bit Server VM 23.3-b01 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb) The JavaFx bundle (.exe) created during build is of 64 bit. My users are in 32 bit machine so I need to create bundles in 32 bit. Is there any way I can create 32 bit exe files using my machine Tried downloding 32 bit JDK and pointed the same in the project

Add Two 32 bit Floating Point Numbers with AVR-Assembler

那年仲夏 提交于 2020-01-17 13:42:09
问题 Im trying to use AVR Studio to add two 32bit floating point numbers together. I know that I will need to store the 32bit number in 4 separate 8bit registers. I'll then need to add the registers together using the carry flag. This is what I have so far. Im adding 5.124323 and 2.2134523. ;5.124323 (01000000101000111111101001110100) ;Store hex value (40A3FA74) ldi r21,$40 ldi r22,$A3 ldi r23,$FA ldi r24,$74 ;2.2134523 (01000000000011011010100100110100) ;Store hex value (400DA934) ldi r25,$40 ldi

Floating point conversion for 8-bit floating point numbers

眉间皱痕 提交于 2020-01-15 08:04:26
问题 Consider the following 8-bit ( yes, 8-bit, not 8-byte ) floating point representation based on the IEEE floating point format. Format A: There is one sign bit. There are k=3 exponent bits. There are n=4 fraction bits. Format B: There is one sign bit. There are k=4 exponent bits. There are n=3 fraction bits. Below, you are given some bit patterns of pattern A. Your task is to find out the values of numbers given by format A and also convert them to the closest value in format B. Format A

Handling large dense matrices in python

自作多情 提交于 2020-01-12 02:38:11
问题 Basically, what is the best way to go about storing and using dense matrices in python? I have a project that generates similarity metrics between every item in an array. Each item is a custom class, and stores a pointer to the other class and a number representing it's "closeness" to that class. Right now, it works brilliantly up to about ~8000 items, after which it fails with a out-of-memory error. Basically, if you assume that each comparison uses ~30 (seems accurate based on testing)

Excel ODBC and 64 bit server

♀尐吖头ヾ 提交于 2020-01-11 04:39:06
问题 using ASP.NET I need to update an excel template. Our server is running Windows 2008 in 64 bit mode. I am using the following code to access the excel file: ... string connection = @"Provider=MSDASQL;Driver={Microsoft Excel Driver (*.xls)};DBQ=" + path + ";"; ... IF the application pool is set to Enable 32 bit applications the code works as expected; however the oracle driver I am using fails as it is only 64 bit. If Enable 32-bit applications is set to false the excel code fails with the

Class not registered Error

痞子三分冷 提交于 2020-01-09 07:08:27
问题 Running an application from Visual Studio 2012 on 64-bit computers, displays the following error message: Retrieving the COM class factory for component with CLSID {F2D4F4E5-EEA1-46FF-A83B-A270C92DAE4B} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) I am using Inventor packandgo dll library in visualstudio. Anyone know what is the error? 回答1: My problem and the solution I have a 32 bit third party dll which I have