text
stringlengths
1
1.05M
default rel %define XMMWORD %define YMMWORD %define ZMMWORD section .text code align=64 EXTERN OPENSSL_ia32cap_P global bn_mul_mont ALIGN 16 bn_mul_mont: mov QWORD[8+rsp],rdi ;WIN64 prologue mov QWORD[16+rsp],rsi mov rax,rsp $L$SEH_begin_bn_mul_mont: mov rdi,rcx mov rsi,rdx mov rdx,r8 mov rcx,r9 mov r8,QWOR...
frame 1, 16 frame 2, 06 frame 3, 06 frame 0, 06 frame 3, 06 endanim
/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied w...
; A044235: Numbers n such that string 6,0 occurs in the base 8 representation of n but not of n-1. ; 48,112,176,240,304,368,384,432,496,560,624,688,752,816,880,896,944,1008,1072,1136,1200,1264,1328,1392,1408,1456,1520,1584,1648,1712,1776,1840,1904,1920,1968,2032,2096,2160,2224,2288,2352 mov $5,$0 add $5,1 mov $7,$0 lp...
kernel: file format elf32-i386 Disassembly of section .text: 80100000 <multiboot_header>: 80100000: 02 b0 ad 1b 00 00 add 0x1bad(%eax),%dh 80100006: 00 00 add %al,(%eax) 80100008: fe 4f 52 decb 0x52(%edi) 8010000b: e4 .byte 0xe4 8010000c <entry>: # E...
; Program 8.5 ; SSE Scalar Operations - NASM (64-bit) ; Copyright (c) 2019 Hall & Slonka section .data align 16 valueA: dd 1.2 pi: dq 3.14159265358979 section .bss result: resd 1 ; space for storing result section .text global _main _main: ; scalar examples movss xmm0, [rel valueA] ; move valueA to XMM0 addss...
#ifndef CPU_HPP #define CPU_HPP #pragma once #include <cstdint> #include <ostream> #include <vector> #include <array> #include <string> #include <bitset> #define ASSERT(EXPR, MSG) if (!(EXPR)) throw std::runtime_error(MSG); #define NON_CMA_ABLE(T) \ public: \ T(const T &) =...
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #ifndef LIBP2P_DIALER_MOCK_HPP #define LIBP2P_DIALER_MOCK_HPP #include <gmock/gmock.h> #include "libp2p/network/dialer.hpp" namespace libp2p::network { struct DialerMock : public Dialer { ~DialerMock() overrid...
// Test using some simple supported string escapes \r \f \n \' \" // Commodore 64 PRG executable file .file [name="string-escapes-0.prg", type="prg", segments="Program"] .segmentdef Program [segments="Basic, Code, Data"] .segmentdef Basic [start=$0801] .segmentdef Code [start=$80d] .segmentdef Data [startAfter="Code"...
; ; ANSI Video handling for the VZ200 ; ; Handles colors referring to current PAPER/INK/etc. settings ; ; Scrollup ; ; ; $Id: f_ansi_scrollup.asm,v 1.3 2016-06-12 16:06:43 dom Exp $ ; SECTION code_clib PUBLIC ansi_SCROLLUP .ansi_SCROLLUP LD HL,0101h CALL 11CDh ; L2A - convert location to screen addr...
; lzo1y_f1.asm -- lzo1y_decompress_asm_fast ; ; This file is part of the LZO real-time data compression library. ; ; Copyright (C) 2011 Markus Franz Xaver Johannes Oberhumer ; Copyright (C) 2010 Markus Franz Xaver Johannes Oberhumer ; Copyright (C) 2009 Markus Franz Xaver Johannes Oberhumer ; Copyright (C) 2008 M...
; A077898: Expansion of (1 - x)^(-1)/(1 + x - 2*x^2). ; 1,0,3,-2,9,-12,31,-54,117,-224,459,-906,1825,-3636,7287,-14558,29133,-58248,116515,-233010,466041,-932060,1864143,-3728262,7456549,-14913072,29826171,-59652314,119304657,-238609284,477218599,-954437166,1908874365,-3817748696,7635497427,-15270994818,30541989673,-61...
MoonMonsB1: db $0A db 8,ZUBAT db 7,ZUBAT db 7,GEODUDE db 8,GEODUDE db 9,ZUBAT db 10,PARAS db 10,ZUBAT db 11,ZUBAT db 9,CLEFAIRY db 9,GEODUDE db $00
/* Copyright (c) 2003-2016, John Hurst All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the followi...
.ORIG x4800 .FILL x0013 ; EXTRA1_DAYS[0] .FILL x4807 ; EXTRA1_NAME_PTR[0] .FILL xFFFD ; EXTRA1_HOURS[0] .FILL x0002 ; EXTRA2_DAYS[0] .FILL x4809 ; EXTRA2_NAME_PTR[0] .FILL x0001 ; EXTRA2_HOURS[0] .FILL xFFFF ; EXTRA3_DAYS[0] .FILL x0044 ; EXTRA1_NAME[0] .FILL x0000 ; EXTRA1_NAME[1] .FILL x0045 ; EXTRA2_NAME[...
// Copyright 2014 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/runtime/runtime-utils.h" #include "src/arguments.h" #include "src/factory.h" #include "src/messages.h" #include "src/objects-inl.h" #incl...
; A096025: Numbers n such that (n+j) mod (2+j) = 1 for j from 0 to 6 and (n+7) mod 9 <> 1. ; 843,1683,3363,4203,5883,6723,8403,9243,10923,11763,13443,14283,15963,16803,18483,19323,21003,21843,23523,24363,26043,26883,28563,29403,31083,31923,33603,34443,36123,36963,38643,39483,41163,42003,43683 mul $0,6 div $0,4 mul $0,...
// // Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.20714 // // /// // // Input signature: // // Name Index Mask Register SysValue Format Used // -------------------- ----- ------ -------- -------- ------- ------ // SV_Position 0 xyzw 0 POS float // T...
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "main.h" #include "db.h" #include "txdb.h" #include "init.h" #include "miner.h...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r9 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x1b454, %rsi lea addresses_UC_ht+0x8454, %rdi nop cmp %r12, %r12 mov $72, %rcx rep movsb nop sub $53960, %r9 lea addresses_UC_ht+0x171d4, %rsi lea addresses_D_ht+0x10854, %rdi ...
SFX_Headers_1:: dbw -1, -1 ; padding SFX_Snare1_1:: dbw CH7, SFX_Snare1_1_Ch1 SFX_Snare2_1:: dbw CH7, SFX_Snare2_1_Ch1 SFX_Snare3_1:: dbw CH7, SFX_Snare3_1_Ch1 SFX_Snare4_1:: dbw CH7, SFX_Snare4_1_Ch1 SFX_Snare5_1:: dbw CH7, SFX_Snare5_1_Ch1 SFX_Triangle1_1:: dbw CH7, SFX_Triangle1_1_Ch1 SFX_Triangle2_1::...
/** * @file * @brief Item creation routines. **/ #include "AppHdr.h" #include "makeitem.h" #include <algorithm> #include "art-enum.h" // unrand -> magic staff silliness #include "artefact.h" #include "colour.h" #include "describe.h" #include "dungeon.h" #include "evoke.h" #include "item-name.h" #include "item-pro...
; A104626: Numbers having three 1's in their base-phi representation. ; 4,5,6,8,19,48,124,323,844,2208,5779,15128,39604,103683,271444,710648,1860499,4870848,12752044,33385283,87403804,228826128,599074579,1568397608,4106118244,10749957123,28143753124,73681302248,192900153619,505019158608,1322157322204,3461452808003,9062...
#include <cmath> #include "GOPlayer.h" #include "GOConsumable.h" #include "GameContext.h" GOPlayer::GOPlayer(const GameContext &context, Rect frame) : GameObject(context, frame) { physics = std::make_shared<PhysicsState>(this); physics->gravity = true; physics->still = false; originalSize = frame.size;...
/** * Calculator Comrade Library * License: https://github.com/DmitryDzz/calculator-comrade-lib/blob/master/LICENSE * Author: Dmitry Dzakhov * Email: info@robot-mitya.ru */ #include <gmock/gmock.h> #include "calculator/calculator.h" #include "calc_helper.h" using namespace calculatorcomrade; #define TEST_MEM(te...
/* -------------------------------------------------------------------------- */ /* Copyright 2002-2019, OpenNebula Project, OpenNebula Systems */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); you may ...
; void sp1_PutTilesInv(struct sp1_Rect *r, struct sp1_tp *src) SECTION code_clib SECTION code_temp_sp1 PUBLIC _sp1_PutTilesInv EXTERN l0_sp1_PutTilesInv_callee _sp1_PutTilesInv: pop af pop hl pop de push de push hl push af jp l0_sp1_PutTilesInv_callee
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; ;;; Microsoft Research Singularity ;;; ;;; Copyright (c) Microsoft Corporation. All rights reserved. ;;; ;;; This file contains ARM-specific assembly code. ;;; ; Signed divide of r1 by r0 ; Return: ; r0 ...
; A133398: Numbers that are not Mersenne primes. ; 1,2,4,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64 add $0,1 mov $3,1 add $3,$0 sub $0,1 mov $1,$3 mov $2,$3 lpb $0 trn $0,$2 add $1,1 add...
//===---- CGObjC.cpp - Emit LLVM Code for Objective-C ---------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r10 push %r8 push %rax push %rcx push %rdi push %rdx // Store lea addresses_RW+0x110a5, %rcx nop nop nop nop nop cmp $19923, %rdi mov $0x5152535455565758, %r8 movq %r8, %xmm2 movups %xmm2, (%rcx) nop and %rcx, %rcx // Fau...
; A287553: Positions of 1 in A053839. ; 2,5,12,15,17,24,27,30,36,39,42,45,51,54,57,64,65,72,75,78,84,87,90,93,99,102,105,112,114,117,124,127,132,135,138,141,147,150,153,160,162,165,172,175,177,184,187,190,195,198,201,208,210,213,220,223,225,232,235,238,244,247,250,253,257,264,267,270,276,279,282,285,291,294,297,304,306...
#include "utils.h" #ifdef SMTRAT_DEVOPTION_Statistics namespace smtrat { namespace mcsat { namespace onecellcad { OCStatistics &getStatistic() { static OCStatistics &mStatistics = statistics_get<OCStatistics>("mcsat-explanation-onecellcad"); return mStatistics; } } } } #endif
; ; jcgryext.asm - grayscale colorspace conversion (64-bit AVX2) ; ; Copyright (C) 2011, 2016, D. R. Commander. ; Copyright (C) 2015, Intel Corporation. ; ; Based on the x86 SIMD extension for IJG JPEG library ; Copyright (C) 1999-2006, MIYASAKA Masaru. ; For conditions of distribution and use, see copyright notice in ...
SECTION code_graphics PUBLIC textpixl defc BASE = $00 ; .. X. .X XX ; .. .. .. .. ; ; .. X. .X XX ; X. X. X. X. ; ; .. X. .X XX ; .X .X .X .X ; ; .. X. .X XX ; XX XX XX XX .textpixl defb BASE+0, BASE+2, BASE+1, BASE+3 defb BASE+8, BAS...
/** * Copyright (C) 2013 10gen Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful...
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/callback.h" #include "base/logging.h" #include "chrome/browser/external_protocol/external_protocol_handler.h" #include "chrome/browser/...
/* * Copyright (c) 2020 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
; A233684: Number of (n+1) X (1+1) 0..3 arrays with every 2 X 2 subblock having the sum of the squares of the edge differences equal to 10, and no two adjacent values equal. ; Submitted by Jamie Morken(w3) ; 32,108,356,1188,3940,13108,43540,144740,480964,1598548,5312436,17655684,58676452,195006452,648083796,2153846948,...
INCLUDE "clib_cfg.asm" SECTION code_clib SECTION code_l_sdcc PUBLIC __mullong EXTERN l_mulu_32_32x32 __mullong: ; multiply two 32-bit multiplicands into a 32-bit product ; ; enter : stack = multiplicand (32-bit), multiplicand (32-bit), ret ; ; exit : dehl = product pop af exx pop hl ...
; A132440: Infinitesimal Pascal matrix: generator (lower triangular matrix representation) of the Pascal matrix, the classical operator xDx, iterated Laguerre transforms, associated matrices of the list partition transform and general Euler transformation for sequences. ; 0,1,0,0,2,0,0,0,3,0,0,0,0,4,0,0,0,0,0,5,0,0,0,0...
#include "text_data.h" #include <algorithm> using namespace std; namespace TechLog1C{ Time::Time(): time_(0){} Time::Time(std::uint64_t time): time_(time){} Time::Time(std::uint8_t year, std::uint8_t month, std::uint8_t day, std::uint8_t hour, std::uint8_t minute, std::uint...
/* _____ * /\ _ \ __ * \ \ \_\ \ __ __ __ /\_\ * \ \ __ \ /'_ `\ /\ \/\ \\/\ \ * \ \ \/\ \ /\ \_\ \\ \ \_\ \\ \ \ * \ \_\ \_\\ \____ \\ \____/ \ \_\ * \/_/\/_/ \/____\ \\/___/ \/_/ * /\____/ ...
; A310439: Coordination sequence Gal.6.321.4 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings. ; Submitted by Jon Maiga ; 1,4,10,15,19,24,29,33,38,44,48,52,58,63,67,72,77,81,86,92,96,100,106,111,115,120,125,129,134,140,144,148,154,159,16...
#include "ArgParser.h" #include "ArgParseException.h" #include <string> #include <vector> #include <algorithm> #include <utility> //for std::pair using std::string; using std::vector; ArgParser::ArgParser() : finalized(false) { } ArgParser::ArgParser(const int argc, char *argv[], const string switches, con...
; A110613: a(n+3) = 5*a(n+2) - 2*a(n+1) - 8*a(n), a(0) = 1, a(1) = 0, a(2) = 3. ; 1,0,3,7,29,107,421,1659,6597,26299,105029,419771,1678405,6712251,26846277,107379643,429507653,1718008763,6871991365,27487878075,109951337541,439805000635,1759219303493,7036875815867,28147500467269,112589996276667,450359973921861,180143987...
; A168184: Characteristic function of numbers that are not multiples of 10. ; 0,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1 gcd $0,10 div $0,10 pow $1,$0 mov $0,$1
; A011861: a(n) = floor(n(n-1)/8). ; 0,0,0,0,1,2,3,5,7,9,11,13,16,19,22,26,30,34,38,42,47,52,57,63,69,75,81,87,94,101,108,116,124,132,140,148,157,166,175,185,195,205,215,225,236,247,258,270,282,294,306,318,331,344,357,371,385,399,413,427,442,457,472,488,504,520,536,552,569,586,603,621,639,657,675,693,712,731,750,770,79...
page ,132 subttl emstack.asm - Emulator Stack Management Area ;*** ;emstack.asm - Emulator Stack Management Area ; ; Copyright (c) 1986-89, Microsoft Corporation ; ;Purpose: ; Emulator Stack Management Area ; ; This Module contains Proprietary Information of Microsoft ; Corporation and should be treated as...
; A124720: Number of ternary Lyndon words of length n with exactly two 1's. ; Submitted by Jon Maiga ; 2,5,16,38,96,220,512,1144,2560,5616,12288,26592,57344,122816,262144,556928,1179648,2490112,5242880,11009536,23068672,48233472,100663296,209713152,436207616,905965568,1879048192,3892305920,8053063680,16642981888,343597...
MODULE __printf_number SECTION code_clib PUBLIC __printf_number EXTERN __printf_print_to_buf EXTERN __printf_print_the_buffer EXTERN l_int2long_s EXTERN l_long_neg EXTERN l_long_div_u EXTERN l_div_u EXTERN l_neg EXTERN get_16bit_ap_parameter EXTERN __printf_a...
//*************************************************************************** // // Copyright (c) 1998-1999 Microsoft Corporation // // ENUMOBJ.CPP // // alanbos 15-Aug-96 Created. // // Defines the implementation of ISWbemObjectSet // //*****************************************************************...
; Emulate 'rl bc' instruction, only carry is affected ; CPU Min T Max T ; 8080 90 90 ; 8085 88 88 ; gbz80 16 16 ; r2k 8 8 ; z180 14 14 ; z80 16 16 ; z80n 16 16 SECTION code_crt0_sccz80 PUBLIC __z80asm__rl_bc __z80asm__rl_bc: IF __CPU_INTEL__ push af ld ...
bits 64 section .data HSP: dq 256 LCL: dq 1024 ARG: dq 2048 THIS: dq 4096 THAT: dq 0 section .text ; D=17 mov rdx, 17 ; *SP=D mov rax, [HSP] mov [rax], rdx ; SP++ mov rax, [HSP] add rax, 1 mov [HSP], rax
; Z88 Small C+ Run time Library ; Moved functions over to proper libdefs ; To make startup code smaller and neater! ; ; 6/9/98 djm ; 13/5/99 djm Added carry conditions... SECTION code_clib SECTION code_l_sccz80 PUBLIC l_eq l_eq: ; de == hl ; carry set if true or a sbc ...
;[]-----------------------------------------------------------------[] ;| MEMCPY.ASM -- copy a block of n bytes from src to dst | ;[]-----------------------------------------------------------------[] ; ; C/C++ Run Time Library - Version 10.0 ; ; Copyright (c) 1991, 2000 by Inprise Corporation...
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Copyright (c) 2018 The Gamblecoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <boost/assign/list_of.hpp> #i...
#include<bits/stdc++.h> using namespace std; int main() { vector<int> arr = {-5, -2, 5, 2, 4, 7, 1, 8, 0, -8}; int i = -1, temp = 0; for (int j = 0; j < arr.size() - 1; j++){ if(arr[j] < 0){ i++; temp = arr[i]; arr[i] = arr[j]; arr[j] = temp; ...
; $Id: beeper_mwr.asm $ ; ; 1 bit sound library - version for "memory write" I/O architectures ; by Stefano Bodrato, 31/03/08 ; ; ZX Spectrum-like call: ; HL=duration ; DE=frequency ; IF !__CPU_GBZ80__ && !__CPU_INTEL__ SECTION code_clib PUBLIC beeper PUBLIC _beeper INCLUDE "games/games.inc...
;LickilickyBaseStats: ; 38f92 (e:4f92) db DEX_LICKILICKY ; pokedex id db 110 ; base hp db 85 ; base attack db 95 ; base defense db 50 ; base speed db 95 ; base special db NORMAL ; species type 1 db NORMAL ; species type 2 db FULL_HEAL ; catch rate db 193 ; base exp yield INCBIN "pic/ymon/lickilicky.pic",0,1 ; 77, sprit...
// Copyright (c) 2001, Daniel C. Nuffer // Copyright (c) 2001-2010 Hartmut Kaiser // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #if !defined(BOOST_SPIRIT_ITERATOR_BUF_ID_CHECK_POLICY_MAR_16_2007_1108AM) #...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r9 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x1ed68, %rdi nop add %r11, %r11 movl $0x61626364, (%rdi) nop nop nop nop nop and $60414, %r13 lea addresses_normal_ht+0xbf28, %rsi lea addresses_WT_ht+0x2903, %rdi nop nop nop ...
; A171008: Write the n-th prime in binary and change all 0's to 1's and all 1's to 0's. ; Submitted by Christian Krause ; 1,0,10,0,100,10,1110,1100,1000,10,0,11010,10110,10100,10000,1010,100,10,111100,111000,110110,110000,101100,100110,11110,11010,11000,10100,10010,1110,0,1111100,1110110,1110100,1101010,1101000,1100010...
db 0 ; species ID placeholder db 35, 35, 35, 35, 35, 35 ; hp atk def spd sat sdf db FIGHTING, FIGHTING ; type db 75 ; catch rate db 91 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F0 ; gender ratio db 25 ; step cycles to hatch INCBIN "gfx/pokemon/tyrogue/front.dimensions" db GROWTH_MEDIUM_...
/* * BSD LICENSE * Copyright (c) 2021 Samsung Electronics Corporation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code must retain th...
; ; This file is automatically generated ; ; Do not edit!!! ; ; djm 12/2/2000 ; ; ZSock Lib function: sock_flush XLIB sock_flush LIB no_zsock INCLUDE "#packages.def" INCLUDE "#zsock.def" .sock_flush ld a,r_sock_flush call_pkg(tcp_all) ret nc ; We failed..are we installed? cp rc_pnf scf ;signal error ret...
.inesprg 2 ; 1x 16KB PRG code .ineschr 1 ; 1x 8KB CHR data .inesmap 0 ; mapper 0 = NROM, no bank swapping .inesmir 1 ; background mirroring .rsset $0000 ;;start variables at ram location 0 gamestate .rs 1 ; .rs 1 means reserve one byte of space shipx .rs 1 ; ship horizontal pos...
; ; Generic pseudo graphics routines for text-only platforms ; ; Plot pixel1 at (x,y) coordinate. ; SECTION code_clib PUBLIC plotpixel .plotpixel defc NEEDplot = 1 INCLUDE "pixel1.inc"
;3-ex1.1.asm ; Allow user enter day (any digit, 1 digit) ; If 1-7, display "Valid day" ; else, display "Not a valid day" .MODEL SMALL .STACK 100 .DATA opText DB 'Enter a day: $' nl DB 13,10,'$' op DB ? valid DB 'Valid day$' inval DB 'Not a valid day$' .CODE MAIN PROC MOV AX,@DATA ...
.data 0x10010402 vettore: .byte 5, 4, 100, 3 fine_dati: .text la $t8, vettore # USATA PER LA CONDIZIONE DI FINE AREA DATI (FINE VETTORE, SENZA LUNGHEZZA ESPLICITA) lb $t0, vettore # first word loaded la $s0, fine_dati li $t3, 0 # int sum li $t4, 0 # array index for_loop: # USO QUESTE SE HO...
SECTION code_clib SECTION code_fp_am9511 PUBLIC ___mulsint2slong EXTERN cam32_sdcc___mulsint2slong ; multiply two signed 16-bit multiplicands into a 32-bit product ; ; enter : stack = multiplicand (16-bit), multiplicand (16-bit), ret ; ; exit : dehl = product defc ___mulsint2slong = cam32_sdcc___mu...
;***************************************************************************** ;* MMX/SSE2/AVX-optimized 10-bit H.264 chroma MC code ;***************************************************************************** ;* Copyright (C) 2005-2011 x264 project ;* ;* Authors: Daniel Kang <daniel.d.kang@gmail.com> ;* ;* This file...
.data message : .asciiz"FIM" space : .asciiz", " .text main: addi $t0,$zero,10 while: bltz $t0,exit jal printNumber add $t0,$t0,-1 j while exit: li $v0, 4 la $a0, message syscall #fim do programa li $v0, 10 syscall printNumber: li $v0, 1 add $a0, $t0, $zero s...
; A061866: a(n) is the number of solutions to x+y+z = 0 mod 3, where 1 <= x < y < z <= n. ; 0,0,0,1,2,4,8,13,20,30,42,57,76,98,124,155,190,230,276,327,384,448,518,595,680,772,872,981,1098,1224,1360,1505,1660,1826,2002,2189,2388,2598,2820,3055,3302,3562,3836,4123,4424,4740,5070,5415,5776,6152,6544,6953,7378,7820 mov $1...
include "../constants.asm" org #0000 skybox: db 0 texture_set: db 1 floortypeandcolor: ; db 0 db #60 ceilingtypeandcolor: ; db 0 db #d0 map: db 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7 db 4,0,7,7,7,7,7,7,7,7,7,7,7,7,7,7 db 7,0,7,7,7,7,0,0,0,0,0,7,7,7,7,7 db 128+8,0,128+8,1,128+8,7,0,128...
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
; ; ; Z88 Maths Routines ; ; C Interface for Small C+ Compiler ; ; 7/12/98 djm ;Convert from integer to FP.. ;We could enter in here with a long in dehl, so, mod to compiler I think! SECTION code_fp INCLUDE "target/z88/def/fpp.def" PUBLIC ufloa...
; A291008: p-INVERT of (1,1,1,1,1,...), where p(S) = 1 - 7*S^2. ; 0,7,14,70,224,868,3080,11368,41216,150640,548576,2000992,7293440,26592832,96946304,353449600,1288577024,4697851648,17127165440,62441440768,227645874176,829940392960,3025756030976,11031154419712,40216845025280,146620616568832,534542303289344,1948808305991...
; AMD64 mpn_addsub_n ; ; Copyright 2017 Jens Nurmann ; ; This file is part of the MPIR Library. ; The MPIR Library is free software; you can redistribute it and/or modify ; it under the terms of the GNU Lesser General Public License as published ; by the Free Software Foundation; either version 2.1 of the License...
; ; Z88 Graphics Functions - Small C+ stubs ; ; Written around the Interlogic Standard Library ; ; Stubs Written by D Morris - 30/9/98 ; ; ; $Id: w_point_callee.asm $ ; ; CALLER LINKAGE FOR FUNCTION POINTERS ; ----- void point(int x, int y) ;Result is true/false SECTION code_graphics ...
name a_filexx___ EXTERN ___interrupt_tab_0x2C PUBLIC ___interrupt_0x2C PUBLIC _r_tau0_channel0_interrupt PUBLIC _vtest_function SECTION `.text`:CODE:ROOT(0) _r_tau0_channel0_interrupt: ___interrupt_0x2C: reti REQUIRE ___interrupt_tab_0x2C ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;...
//===--- NameLookup.cpp - Swift Name Lookup Routines ----------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2018 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
; A155121: a(n) = 2*n*(1 + n + n^2 + n^3) - 3. ; -3,5,57,237,677,1557,3105,5597,9357,14757,22217,32205,45237,61877,82737,108477,139805,177477,222297,275117,336837,408405,490817,585117,692397,813797,950505,1103757,1274837,1465077,1675857,1908605,2164797,2445957,2753657,3089517,3455205,3852437,4282977,4748637,5251277,579...
# Timing test pushi 1 store 0 L1: pushi 1 load 0 add store 0 pushi 1 pop pushi 1 pop pushi 1 pop pushi 1 pop pushi 1 pop pushi 1 pop load 0 pushi 500000 isG...
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/logging.h" #include "chrome/browser/extensions/api/file_handlers/app_file_handler_util.h" #include "chrome/browser/extensions/api/image_wri...
10 ORG 100H 20 JP MAIN 30WRASR EQU 0BFAFH 40PUTSTR EQU 0BFF1H 50INKEY EQU 089BEH 60PUTCHR EQU 0BE62H 70INITSR EQU 0871AH 80AOUT EQU 0BD09H 90OPENSR EQU 0BCE8H 100CLOSSR EQU 0BCEBH 110LRDSR EQU 0BD15H 120WAITK EQU 0BFCDH 130WCHRSR EQU 0BFAFH 140WSTSR EQU 0BFB2H 150A2HEX EQU 0F9BDH 160RPTCHR EQU 0BFEEH 170REGOUT EQU 0BD0...
SECTION code_fp_am9511 PUBLIC cam32_sdcc_exp10 EXTERN asm_sdcc_read1, _am9511_exp10 .cam32_sdcc_exp10 call asm_sdcc_read1 jp _am9511_exp10
#include "catch_run_context.h" #include "catch_compiler_capabilities.h" #include "catch_context.h" #include "catch_enforce.h" #include "catch_random_number_generator.h" #include "catch_stream.h" #include "catch_output_redirect.h" #include <cassert> #include <algorithm> #include <sstream> namespace Catch { namesp...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %r14 push %r8 push %rcx push %rdi push %rsi lea addresses_normal_ht+0x15f06, %rsi lea addresses_A_ht+0x17f06, %rdi nop nop nop sub $55769, %r12 mov $17, %rcx rep movsq xor $9004, %rcx lea addresses_UC_ht+0x66c6, %r12 clflush (%r12) nop nop ...
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.23.28008.0 TITLE C:\Users\libit\source\repos\L008A\L008A\L008A.cpp .686P .XMM include listing.inc .model flat INCLUDELIB LIBCMT INCLUDELIB OLDNAMES CONST SEGMENT $SG5561 DB 'Hello World!', 0aH, 00H ORG $+2 $SG5562 DB '%d', 0aH, 00H CONST ENDS...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: bigcalcBuildPCF.asm AUTHOR: Christian Puscasiu, Apr 29, 1992 ROUTINES: Name Description ---- ----------- INT BigCalcCheckNumber...
; A163608: a(n) = ((5 + 2*sqrt(2))*(2 + sqrt(2))^n + (5 - 2*sqrt(2))*(2 - sqrt(2))^n)/2. ; 5,14,46,156,532,1816,6200,21168,72272,246752,842464,2876352,9820480,33529216,114475904,390845184,1334428928,4556025344,15555243520,53108923392,181325206528,619082979328,2113681504256,7216560058368,24638877224960,84122388783104,28...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %r8 push %r9 push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x14f3d, %r9 nop nop nop nop nop dec %r11 mov $0x6162636465666768, %rdi movq %rdi, %xmm4 vmovups %ymm4, (%r9) nop nop nop nop xor $7218, %r14 lea addresses_UC_ht+0x161dc, %rsi l...
; A158633: a(n) = 529*n^2 - 23. ; 506,2093,4738,8441,13202,19021,25898,33833,42826,52877,63986,76153,89378,103661,119002,135401,152858,171373,190946,211577,233266,256013,279818,304681,330602,357581,385618,414713,444866,476077,508346,541673,576058,611501,648002,685561,724178,763853,804586,846377,889226,933133,978098,102...
/**************************************************************************************************************************** esp32_tcp.hpp For WebSockets2_Generic Library Based on and modified from Gil Maimon's ArduinoWebsockets library https://github.com/gilmaimon/ArduinoWebsockets to support STM32F/L/H/G/...
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23506.0 TITLE D:\scottsdocs\sourcecode\OpenGLboxes\code\box.cpp .686P .XMM include listing.inc .model flat INCLUDELIB MSVCRTD INCLUDELIB OLDNAMES END
// Copyright 2013 Daniel Parker // Distributed under the Boost license, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // See https://sourceforge.net/projects/jsoncons/files/ for latest version // See https://sourceforge.net/p/jsoncons/wiki/Home/ for documentati...
; A007160: Number of diagonal dissections of a convex (n+6)-gon into n regions. ; Submitted by Jamie Morken(s2) ; 1,20,225,1925,14014,91728,556920,3197700,17587350,93486536,483367885,2442687975,12109051500,59053512000,283963030560,1348824395160,6338392712550,29503515951000,136173391604250,623760137794794,28377659016158...
.model small .stack 100h .data bytes db 65,66 words dw 45h .code mov ax, @data mov ds, ax mov bp, offset words mov ax, 82h mov si,0 sub word ptr [ds:bp],2 mov ax, [ds:bp] ;despliega cx veces lo que esta contenido en AL mov AH,0ah xor bx,bx mov cx,1 ...
// Copyright (c) 2017 The STRAKS developers // Copyright (c) 2017-2018 The Methuselah Developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #if defined(HAVE_CONFIG_H) #include "config/methuselah-config.h" #endif #include <...