32-bit

Location and Highest value in array

做~自己de王妃 提交于 2021-02-10 12:18:41
问题 So i am trying learn assembly and my practice sheet has an example where i have to create a program to input 10 numbers one at a time into an array. I have to print the highest value and when it was entered. I have barely any exp in comparing but I want to somehow store the high value and compare it the locations? code: include irvine32.inc .data num dw 10 dup(0) count db 1 prompt db "Enter a number: ",0 yesMsg db "hi val is in location ",0 hiMsg db "The high value is ",0 .code main proc mov

Location and Highest value in array

╄→гoц情女王★ 提交于 2021-02-10 12:18:25
问题 So i am trying learn assembly and my practice sheet has an example where i have to create a program to input 10 numbers one at a time into an array. I have to print the highest value and when it was entered. I have barely any exp in comparing but I want to somehow store the high value and compare it the locations? code: include irvine32.inc .data num dw 10 dup(0) count db 1 prompt db "Enter a number: ",0 yesMsg db "hi val is in location ",0 hiMsg db "The high value is ",0 .code main proc mov

Location and Highest value in array

自古美人都是妖i 提交于 2021-02-10 12:18:07
问题 So i am trying learn assembly and my practice sheet has an example where i have to create a program to input 10 numbers one at a time into an array. I have to print the highest value and when it was entered. I have barely any exp in comparing but I want to somehow store the high value and compare it the locations? code: include irvine32.inc .data num dw 10 dup(0) count db 1 prompt db "Enter a number: ",0 yesMsg db "hi val is in location ",0 hiMsg db "The high value is ",0 .code main proc mov

Inline assembly - cdecl and preparing the stack

时间秒杀一切 提交于 2021-02-08 04:50:42
问题 I've recently been trying to implement dynamic functions in C++ by using a buffer and RAW hexadecimal equivalents of different assembly operators. To illustrate a simple jump: byte * buffer = new buffer[5]; *buffer = '0xE9'; // Hex for jump *(uint*)(buffer + 1) = 'address destination'; I am not experienced in assembly but I know enough to create very simple functions. Right now I'm creating cdecl functions in raw memory. The problem is, I do not know how much I want to push the stack (for

PS/2 Mouse Not Firing

孤街浪徒 提交于 2021-02-07 04:36:32
问题 Everyone! I just finished writing my Keyboard Driver. Right now the problem is that my PS/2 MOUSE IRQ won't fire(IRQ 12). I tested this by this code: #include "irq.h" #define PIC_MASTER_CONTROL 0x20 #define PIC_MASTER_MASK 0x21 #define PIC_SLAVE_CONTROL 0xa0 #define PIC_SLAVE_MASK 0xa1 typedef void(*regs_func)(struct regs *r); /*Get all irq's*/ extern "C" void irq0(void); extern "C" void irq1(void); extern "C" void irq2(void); extern "C" void irq3(void); extern "C" void irq4(void); extern "C"

Is it possible to upgrade a portable Python 32 bit install to a 64 bit install?

拟墨画扇 提交于 2021-02-06 10:14:13
问题 I've been working on a single program for a few months now, which now requires some additional functionality. Originally, a 32 bit install was just fine, but since I'm now working with massive matrices in scipy, I simply do not have the required RAM in 32bit. The other problem I have is that my little project has to be very easily transposeable to new systems belonging to people who have no idea what they're doing and just want to click "run", so I did the whole thing with a portable python

Is it possible to upgrade a portable Python 32 bit install to a 64 bit install?

若如初见. 提交于 2021-02-06 10:12:02
问题 I've been working on a single program for a few months now, which now requires some additional functionality. Originally, a 32 bit install was just fine, but since I'm now working with massive matrices in scipy, I simply do not have the required RAM in 32bit. The other problem I have is that my little project has to be very easily transposeable to new systems belonging to people who have no idea what they're doing and just want to click "run", so I did the whole thing with a portable python

How to install the i386 version of R on ubuntu? [closed]

一世执手 提交于 2021-01-28 07:13:22
问题 Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . Improve this question How to install the i386 version of R on ubuntu? I already have the x64 version installed on the server, but I need the 32-bit version to use a library that is on the same version. 回答1: I would recommend installing VirtualBox, and running a 32 bit Ubuntu version in

Timestamp out of range for platform on 32bit system

泪湿孤枕 提交于 2021-01-07 02:52:06
问题 I'm trying to run a script I wrote on my Raspberry Pi Zero, but I keep getting the error OverflowError: timestamp out of range for platform time_t . I'm relatively certain it's something with the 32-bit ARM architecture of the pi, but I can't seem to figure out a workaround. Here's the traceback: File "twitter.py", line 37, in <module> t.run.Search(c) File "/home/pi/.local/lib/python3.7/site-packages/twint/run.py", line 288, in Search run(config, callback) File "/home/pi/.local/lib/python3.7

Assembly Linux system calls vs assembly OS x system calls

六眼飞鱼酱① 提交于 2020-08-19 04:57:45
问题 I have a problem with running assembly code on my mac. I am currently going through Jeff Duntemann's book Assembly Step by Step. The problem is that it focuses on writing assembly for 32 bit linux systems. I am using a 64 bit mac os x system. I can still run 32 bit assembly on my 64 bit system using nasm -f macho32, but apparently the code from Duntemann's book does not work because the system calls in Linux and mac os x are different. How would I convert this program: ; Executable name :