text
stringlengths
1
1.05M
; A262019: The first of eleven consecutive positive integers the sum of the squares of which is equal to the sum of the squares of five consecutive positive integers. ; Submitted by Christian Krause ; 15,3575,637215,113421575,20188404015,3593422493975,639609015524415,113846811340852775,20264092809656270415,360689467330...
; void z80_set_int_state(uint8_t state) SECTION code_clib SECTION code_z80 PUBLIC _z80_set_int_state EXTERN asm_z80_set_int_state _z80_set_int_state: pop af pop hl push hl push af jp asm_z80_set_int_state
; A131479: a(n) = floor(n^4/4). ; 0,0,4,20,64,156,324,600,1024,1640,2500,3660,5184,7140,9604,12656,16384,20880,26244,32580,40000,48620,58564,69960,82944,97656,114244,132860,153664,176820,202500,230880,262144,296480,334084,375156,419904,468540,521284,578360,640000,706440,777924,854700,937024,1025156,1119364,1219920,1327...
/* ---------------------------------------------------------------------- LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator http://lammps.sandia.gov, Sandia National Laboratories Steve Plimpton, sjplimp@sandia.gov This software is distributed under the GNU General Public License. See t...
; > ptr++ ; < ptr-- ; + dat[ptr]++ ; - dat[ptr]-- ; . cprint(dat[ptr]) ; , dat[ptr] = cinp() ; [ if dat[ptr]==0 jmp matching ] ; ] if dat[ptr]!=0 jmp backmatching [ BFCK.ptr : dd 0x0 BFCK.memRegion : dd 0x0 BFCK.init : pusha push dword BFCK.COMMAND_PARSE call iConsole2.RegisterCommand popa ret BFCK.COMMAND_...
; A016298: Expansion of 1/((1-2x)(1-5x)(1-9x)). ; Submitted by Jon Maiga ; 1,16,183,1850,17681,164316,1504843,13673710,123714261,1116683216,10066424303,90679197570,816519676441,7350711587716,66166576804563,595550053849430,5360204797752221,48243114745437816 mov $1,1 mov $3,2 lpb $0 sub $0,1 mul $1,5 div $3,2 mu...
#pragma once using material_handle_t = unsigned short; enum material_flags { material_var_debug = ( 1 << 0 ), material_var_no_debug_override = ( 1 << 1 ), material_var_no_draw = ( 1 << 2 ), material_var_use_in_fillrate_mode = ( 1 << 3 ), material_var_vertexcolor = ( 1 << 4 ), material_var_vertexalpha = ( 1 << 5...
[bits 16] disk_load: pusha push dx mov ah, 0x02 mov al, dh mov cl, 0x02 mov ch, 0x00 mov dh, 0x00 int 0x13 jc disk_error pop dx cmp al, dh jne sectors_error popa ret disk_error: mov bx, DISK_ERROR call print mov dh, ah call prin...
; A308742: Decimal expansion of BesselI(3/4,1/2)/BesselI(-1/4,1/2). ; Submitted by Jon Maiga ; 3,1,8,3,6,6,2,4,6,7,2,8,3,1,6,4,7,1,6,8,1,9,0,8,7,0,7,6,4,4,3,8,6,9,3,4,7,3,9,9,7,9,5,3,0,1,2,4,2,1,0,4,6,3,7,6,0,3,0,6,4,2,0,4,0,5,7,5,3,3,3,8,7,5,9,3,0,1,4,2,9,0,9,4,9,7,3,7,3,3,1,1,7,8,2,0,1,1,1,6 add $0,1 mov $2,5 mov $3...
/*************************************************************************** copyright : (C) 2002 - 2008 by Scott Wheeler email : wheeler@kde.org ***************************************************************************/ /*******************************************************...
; The old code patched in NAME1 for a status message inside 08077F14. ; We now render properly using the VWF, so remove the patching. .org 0x08077F94 .region 0x08077FAA-.,0x00 b 0x08077FAA .endregion .ifdef NameMaxLength ; This is a small part of 0807C96C, which draws the Friends status content. ; Just adjusting the n...
; A064038: Numerator of average number of swaps needed to bubble sort a string of n distinct letters. ; 0,1,3,3,5,15,21,14,18,45,55,33,39,91,105,60,68,153,171,95,105,231,253,138,150,325,351,189,203,435,465,248,264,561,595,315,333,703,741,390,410,861,903,473,495,1035,1081,564,588,1225,1275,663,689,1431,1485,770,798,1653...
#include "DataFormats/HcalIsolatedTrack/interface/IsolatedPixelTrackCandidate.h" using namespace reco; IsolatedPixelTrackCandidate::IsolatedPixelTrackCandidate(const IsolatedPixelTrackCandidate& right) : RecoCandidate(right), track_(right.track_), l1tauJet_(right.l1tauJet_) { maxPtPxl_ = right.maxPtPxl_; sumPtPx...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %r8 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0xa3c7, %rsi lea addresses_WT_ht+0x133c7, %rdi nop cmp $52334, %rax mov $110, %rcx rep movsq nop nop nop nop nop add %rdi, %rdi lea addresses_UC_ht+0x3fc7, %rsi lea addresses_WC...
INCLUDE "graphics/grafix.inc" PUBLIC w_line_r EXTERN line ;EXTERN l_cmp EXTERN coords ; ; $Id: w_liner.asm,v 1.7 2015/09/29 15:36:04 stefano Exp $ ; ; ****************************************************************************** ; ; Draw a ...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r15 push %r8 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0x1c953, %rdi inc %rsi movl $0x61626364, (%rdi) nop nop nop nop nop xor %rbx, %rbx lea addresses_D_ht+0x8a53, %r15 nop nop cmp %rdi, %rdi vmovups (%r15), %ymm3 vextracti128 $0,...
/* ============================================================================== This file is part of the iPlug 2 library. Copyright (C) the iPlug 2 developers. See LICENSE.txt for more info. ============================================================================== */ #include <cstring> #include <cstdio>...
/* * * Copyright (c) 2020 Project CHIP Authors * Copyright (c) 2019 Nest Labs, Inc. * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * ...
/* ** The MIT License (MIT) ** ** Copyright (c) 2020, National Cybersecurity Agency of France (ANSSI) ** ** Permission is hereby granted, free of charge, to any person obtaining a copy ** of this software and associated documentation files (the "Software"), to deal ** in the Software without restriction, including with...
/* * Special support for eabi and SVR4 * * Copyright (C) 1995, 1996, 1998, 2000, 2001 Free Software Foundation, Inc. * Written By Michael Meissner * * This file is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software...
; A165563: a(n) = 1 + 2*n + n^2 + 2*n^3 + n^4. ; 1,7,41,151,409,911,1777,3151,5201,8119,12121,17447,24361,33151,44129,57631,74017,93671,117001,144439,176441,213487,256081,304751,360049,422551,492857,571591,659401,756959,864961,984127,1115201,1258951,1416169,1587671,1774297,1976911,2196401,2433679,2689681,2965367,326172...
; ; ZX 81 pseudo-Gray Library Functions ; ; Written by Stefano Bodrato - Oct 2007 ; ; $Id: g_clg.asm,v 1.3 2017-01-02 22:57:58 aralbrec Exp $ ; ; ;Usage: g_clg(GrayLevel) PUBLIC g_clg PUBLIC _g_clg EXTERN base_graphics EXTERN graybit1 EXTERN graybit2 .g_clg ._g_clg pop hl pop b...
; ; Copyright (c) 2010 The WebM 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 contributing proje...
db 0 ; species ID placeholder db 255, 10, 10, 55, 75, 135 ; hp atk def spd sat sdf db NORMAL, NORMAL ; type db 30 ; catch rate db 255 ; base exp db NO_ITEM, LUCKY_EGG ; items db GENDER_F100 ; gender ratio db 40 ; step cycles to hatch INCBIN "gfx/pokemon/blissey/front.dimensions" db GROWTH_FAST ;...
#include <bits/stdc++.h> using namespace std; int main() { int a,b; scanf("%d%d",&a,&b); if(a<b) printf("O JOGO DUROU %d HORA(S)\n",b-a); else printf("O JOGO DUROU %d HORA(S)\n",b+24-a); return 0; }
// Commodore 64 PRG executable file .file [name="dword.prg", type="prg", segments="Program"] .segmentdef Program [segments="Basic, Code, Data"] .segmentdef Basic [start=$0801] .segmentdef Code [start=$80d] .segmentdef Data [startAfter="Code"] .segment Basic :BasicUpstart(main) .segment Code main: { .const a = $ee...
; You may customize this and other start-up templates; ; The location of this template is c:\emu8086\inc\0_com_template.txt org 100h arr0 DB 3,6,3,6,3; ret
; A258073: a(n) = 1 + 78557*2^n. ; 157115,314229,628457,1256913,2513825,5027649,10055297,20110593,40221185,80442369,160884737,321769473,643538945,1287077889,2574155777,5148311553,10296623105,20593246209,41186492417,82372984833,164745969665,329491939329,658983878657,1317967757313,2635935514625,5271871029249,105437420584...
; ; int cpc_model(); ; ; Results: ; 0 - 464 ; 1 - 664 ; 2 - 6128 ; $Id: cpc_model.asm,v 1.7 2016-06-10 21:12:36 dom Exp $ INCLUDE "cpcfirm.def" SECTION code_clib PUBLIC cpc_model PUBLIC _cpc_model .cpc_model ._cpc_model call firmware defw kl_probe_rom ; ...
; A170059: Number of reduced words of length n in Coxeter group on 50 generators S_i with relations (S_i)^2 = (S_i S_j)^36 = I. ; 1,50,2450,120050,5882450,288240050,14123762450,692064360050,33911153642450,1661646528480050,81420679895522450,3989613314880600050,195491052429149402450,9579061569028320720050,469374016882387...
; A074795: Number of numbers k <= n such that tau(k) == 0 (mod 3) where tau(k) = A000005(k) is the number of divisors of k. ; 0,0,0,1,1,1,1,1,2,2,2,3,3,3,3,3,3,4,4,5,5,5,5,5,6,6,6,7,7,7,7,8,8,8,8,9,9,9,9,9,9,9,9,10,11,11,11,11,12,13,13,14,14,14,14,14,14,14,14,15,15,15,16,16,16,16,16,17,17,17,17,18,18,18,19,20,20,20,20,...
; A202201: Number of (n+2) X 9 binary arrays avoiding patterns 001 and 101 in rows and columns. ; 2430,11880,44550,138996,378378,926640,2084940,4375800,8664084,16325712,29476980,51279480,86337900,141210432,225054126,350430300,534298050,799227000,1174863690,1699689420,2423110950,3407929200,4733235000,6497785008,88239151...
; A135989: a(n) = 6*n + 3 + 90*floor((6*n+3)/10). ; 3,9,105,201,207,303,309,405,501,507,603,609,705,801,807,903,909,1005,1101,1107,1203,1209,1305,1401,1407,1503,1509,1605,1701,1707,1803,1809,1905,2001,2007,2103,2109,2205,2301,2307,2403,2409,2505,2601,2607,2703 mov $3,$0 add $0,6 mul $0,5 mov $4,5 mov $5,3 add $5,$3 ad...
; A075520: 4*prime(n) + (prime(n) mod 4). ; 10,15,21,31,47,53,69,79,95,117,127,149,165,175,191,213,239,245,271,287,293,319,335,357,389,405,415,431,437,453,511,527,549,559,597,607,629,655,671,693,719,725,767,773,789,799,847,895,911,917,933,959,965,1007,1029,1055,1077,1087,1109,1125,1135,1173,1231,1247,1253,1269,1327,134...
; A077842: Expansion of (1-x)/(1-2*x-2*x^2-3*x^3). ; 1,1,4,13,37,112,337,1009,3028,9085,27253,81760,245281,735841,2207524,6622573,19867717,59603152,178809457,536428369,1609285108,4827855325,14483565973,43450697920,130352093761,391056281281,1173168843844,3519506531533,10558519594597 mov $1,3 pow $1,$0 mul $1,8 div $1,5...
CeladonMart5F_Object: db $f ; border block def_warps warp 12, 1, 0, CELADON_MART_ROOF warp 16, 1, 1, CELADON_MART_4F warp 1, 1, 0, CELADON_MART_ELEVATOR def_signs sign 14, 1, 5 ; CeladonMart5Text5 def_objects object SPRITE_GENTLEMAN, 14, 5, WALK, UP_DOWN, 1 ; person object SPRITE_SAILOR, 2, 6, STAY, N...
; A132636: a(n) = Fibonacci(n) mod n^3. ; Submitted by Simon Strandgaard ; 0,1,2,3,5,8,13,21,34,55,89,144,233,377,610,987,1597,2584,4181,6765,1685,7063,4323,4896,12525,15937,19271,10483,2060,22040,5674,15621,2752,3807,9340,432,46989,19305,11932,62155,31899,12088,22273,3677,32420,68263,8459,92736,25467,19025,31601,76515...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0x14cc4, %rsi lea addresses_A_ht+0x1e7d4, %rdi nop nop sub $63000, %rbx mov $118, %rcx rep movsb nop nop cmp $16162, %rbp lea addresses_UC_ht+0x1c254, %r10 nop xor $50461, %rbx mov (%r1...
; A082286: a(n) = 18*n + 10. ; 10,28,46,64,82,100,118,136,154,172,190,208,226,244,262,280,298,316,334,352,370,388,406,424,442,460,478,496,514,532,550,568,586,604,622,640,658,676,694,712,730,748,766,784,802,820,838,856,874,892,910,928,946,964,982,1000,1018,1036,1054,1072,1090,1108,1126,1144,1162,1180,1198,1216,1234,1252...
; int strncasecmp(const char *s1, const char *s2, size_t n) SECTION code_clib SECTION code_string PUBLIC strncasecmp EXTERN asm_strncasecmp strncasecmp: IF __CPU_GBZ80__ | __CPU_INTEL__ ld hl,sp+2 ld c,(hl) inc hl ld b,(hl) inc hl ld e,(hl) inc hl ld d,(hl) inc hl ld a,(hl+) ld h,(...
; A105968: a(n) = 4*a(n-1) - a(n-2) - 2*(-1)^n, a(0) = 1, a(1) = 4. ; 1,4,13,50,185,692,2581,9634,35953,134180,500765,1868882,6974761,26030164,97145893,362553410,1353067745,5049717572,18845802541,70333492594,262488167833,979619178740,3655988547125,13644335009762,50921351491921,190041070957924,709242932339773,2646930658...
//---------------------------------------------------------------------------- // // TSDuck - The MPEG Transport Stream Toolkit // Copyright (c) 2005-2018, Thierry Lelegard // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the f...
; A296135: {0->01}-transform of the Fibonacci word A003849. ; 0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,1,0,1,0,1,1,0,1,1 add $0,3 seq $0,189661 ; Fixed point of the morphism 0->0...
; A081954: Triangle read by rows: T(n, k) = 2^(n-k)*3^k, n >= 1, 0 <= k < n. ; Submitted by Christian Krause ; 2,4,6,8,12,18,16,24,36,54,32,48,72,108,162,64,96,144,216,324,486,128,192,288,432,648,972,1458,256,384,576,864,1296,1944,2916,4374,512,768,1152,1728,2592,3888,5832,8748,13122,1024,1536,2304,3456,5184,7776 seq ...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r8 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_A_ht+0x130dc, %rdi add %r9, %r9 mov $0x6162636465666768, %rax movq %rax, %xmm1 vmovups %ymm1, (%rdi) nop nop dec %r12 lea addresses_UC_ht+0x10ebc, %rdi clflush (%rdi) dec %r11 mov (%r...
cpu 8008new org 2000h jmp 2003h in 1 mvi h,20h mvi l,0 loop: mov m,l inr l jnz loop inr h mov a,h cpi 24h jnz loop wait: jmp wait
; ; trace.nasm ; Copyright © 2012-2018 Jeff Parsons <Jeff@pcjs.org> ; ; This file is part of PCjs, a computer emulation software project at <https://www.pcjs.org>. ; ; PCjs is free software: you can redistribute it and/or modify it under the terms of the ; GNU General Public License as published by the Free S...
// Copyright (c) 2017-2018 The PIVX developers // Copyright (c) 2019 The CryptoVerification developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "mintpool.h" #include "util.h" using namespace std; CMintPool::CMi...
#Mergesort for benchmarking #Optimized for 512 bit I$ 1024 bit D$ #Author Adam Hendrickson ahendri@purdue.edu #CORE 0 org 0x0000 ori $fp, $zero, 0xFFFC ori $sp, $zero, 0xFFFC ori $a0, $zero, data lw $s0, size($zero) srl $a1, $s0, 1 or $s1, $zero, $a0 or $s2, $zero, $a1 jal insertion...
copyright zengfr site:http://github.com/zengfr/romhack 012A74 clr.b ($200,A5) 012A78 move.b #$2, ($1c8,A5) 012F04 move.b #$63, ($1de,A5) 01A610 dbra D1, $1a60e 01AD3E addi.b #$1e, ($1de,A5) copyright zengfr site:http://github.com/zengfr/romhack
/*include*/ #ifndef takeoff1203 // 기본 header (ROS & C/C++) #include <mavlink/v2.0/common/mavlink.h> #include <ros/ros.h> #include <iostream> #include <std_msgs/String.h> #include <vector> #include <stdlib.h> #include <geometry_msgs/Point.h> #include <geographic_msgs/GeoPoint.h> #include <string> #include <unistd.h>...
/* * yosys -- Yosys Open SYnthesis Suite * * Copyright (C) 2012 Clifford Wolf <clifford@clifford.at> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear i...
############################################################################### # Copyright 2019 Intel Corporation # All Rights Reserved. # # If this software was obtained under the Intel Simplified Software License, # the following terms apply: # # The source code, information and material ("Material") containe...
0000: START 0000: STRT EQU * 0000: LH 13,X'000A' 0004: BCR R15,R13 0006: DC XL10'028017484FD800000000' 0010: DC XL16'003400340000158C158C000000000000' 0020: DC XL16'00000000000049300000000000004930' 0030: DC XL16'00000000000019280000...
label: db label dw label dd label
; ;================================================================================================== ; ROMWBW 2.X CONFIGURATION DEFAULTS FOR ZETA V1 ;================================================================================================== ; ; BUILD CONFIGURATION OPTIONS ; CPUOSC .EQU 20000000 ; CPU...
// Copyright (c) 2014, Facebook, Inc. All rights reserved. // This source code is licensed under the BSD-style license found in the // LICENSE file in the root directory of this source tree. An additional grant // of patent rights can be found in the PATENTS file in the same directory. // // This file implements the "...
; ; ; ; This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. ; ; Copyright 2007-2019 Broadcom Inc. All rights reserved. ; ; This example is used for showing the serial LEDs on ; bcm956170r on option 3a. ; ; To start it, use the following co...
; ; logic.asm ; ; MC6809E emulator test code for logic commands. ; Test for command correctness and flag settings. ; All tests will use direct or immediate addressing for simplicity, ; other addressing modes will be tested separately. ; jmp start ; setcf: equ $01 clrcf: equ $fe ; varst...
; ; ANSI Video handling for the Amstrad CPC ; ; Text Attributes ; m - Set Graphic Rendition ; ; The most difficult thing to port: ; Be careful here... ; ; Stefano Bodrato - Jul. 2004 ; ; ; $Id: f_ansi_attr.asm,v 1.5 2015/01/19 01:33:18 pauloscustodio Exp $ ; PUBLIC ansi_attr INCLUDE "cpcfirm.def" PUBLIC INV...
; A224456: The Wiener index of the cyclic phenylene with n hexagons (n>=3). ; 459,1008,1845,3024,4599,6624,9153,12240,15939,20304,25389,31248,37935,45504,54009,63504,74043,85680,98469,112464,127719,144288,162225,181584,202419,224784,248733,274320,301599,330624,361449,394128,428715,465264,503829,544464,587223,632160 ad...
#include <affx/affine.hpp>
////////////////////////////////////////////////////////////////////// // // http://www.garagegames.com/ // ////////////////////////////////////////////////////////////////////// // // 3D Studio Model Class // by: Matthew Fairfax // // Model_3DS.cpp: implementation of the Model_3DS class. // This is a simple class for ...
; A188039: Positions of 0 in A188038; complement of A188040. ; 2,7,12,19,24,31,36,41,48,53,60,65,70,77,82,89,94,101,106,111,118,123,130,135,140,147,152,159,164,171,176,181,188,193,200,205,210,217,222,229,234,239,246,251,258,263,270,275,280,287,292,299,304,309,316,321,328,333,340,345,350,357,362,369,374,379,386,391,398,...
;****************************************************************************** ; ; (c) 2006 by BECK IPC GmbH ; http://www.beck-ipc.com ; ;****************************************************************************** ; ; Module: usb27.asm ; Function: Dynamic linking of USB-API-Function usbHostGetConfigInfo() ; ;...
/*************************************************************************** * Copyright (c) 2016, Johan Mabille, Sylvain Corlay and Wolf Vollprecht * * * * Distributed under the terms of the BSD 3-Clause License. * * ...
int isprime(int b) { if(b==2) { return 1; } for(int i=2;i*i<=b;i++) { if(b%i==0) { return 0; } } return 1; } vector<int> Solution::primesum(int A) { vector<int> a; for(int i=2;i<A;i++) { if(isprime(i)&&isprime(A-i)) { ...
dnl mc68020 mpn_umul_ppmm -- limb by limb multiplication dnl Copyright 1999, 2000, 2001 Free Software Foundation, Inc. dnl dnl This file is part of the GNU MP Library. dnl dnl The GNU MP Library is free software; you can redistribute it and/or dnl modify it under the terms of the GNU Lesser General Public License...
; A088162: n-th prime rotated one binary place to the right less the n-th prime rotated one binary place to the left. ; 0,0,3,0,6,3,21,18,12,3,0,39,33,30,24,15,6,3,90,84,81,72,66,57,45,39,36,30,27,21,0,186,177,174,159,156,147,138,132,123,114,111,96,93,87,84,66,48,42,39,33,24,21,6,381,372,363,360,351,345,342,327,306,300...
// Partitioning of sections and lines for MPI purposes #include "pentago/end/simple_partition.h" #include "pentago/base/all_boards.h" #include "pentago/end/blocks.h" #include "pentago/end/config.h" #include "pentago/utility/ceil_div.h" #include "pentago/utility/debug.h" #include "pentago/utility/index.h" #include "pen...
; A108852: Number of Fibonacci numbers <= n. ; 1,3,4,5,5,6,6,6,7,7,7,7,7,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11 lpb $0,8 mul $0,5 add $0,1 mov $1,$0 div $0,8 add $3,...
#include "XGenerateReportThread.h" #include <QDir> namespace XReport{ XGenerateReportThread::XGenerateReportThread(XGenerateReportBase * generator /*= 0*/) :m_generator(generator) { } XGenerateReportThread::~XGenerateReportThread() { } void XGenerateReportThread::generatePictures(const QStringList & pictu...
; ******************************************************************************************* ; ******************************************************************************************* ; ; Name : vargetset.asm ; Purpose : Copy variable data to and from the mantissa,x ; Date : 25th August 2019 ; Author : Paul...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: bigcalcProcess.asm AUTHOR: Christian Puscasiu, Feb 27, 1992 ROUTINES: Name Description ---- ----------- INT BigCalcProcessCheck...
; A073267: Number of compositions (ordered partitions) of n into exactly two powers of 2. ; 0,0,1,2,1,2,2,0,1,2,2,0,2,0,0,0,1,2,2,0,2,0,0,0,2,0,0,0,0,0,0,0,1,2,2,0,2,0,0,0,2,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,2,0,2,0,0,0,2,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,...
.global s_prepare_buffers s_prepare_buffers: push %r14 push %r9 push %rcx push %rdi push %rsi lea addresses_UC_ht+0x10753, %rsi lea addresses_D_ht+0x4453, %rdi clflush (%rsi) nop nop and %r9, %r9 mov $104, %rcx rep movsl cmp %r14, %r14 pop %rsi pop %rdi pop %rcx pop %r9 pop %r14 ret .global s_faulty_load s_faulty_...
; A254651: Characteristic function of A254614, numbers that are either odd or evil (or both). ; 1,1,0,1,0,1,1,1,0,1,1,1,1,1,0,1,0,1,1,1,1,1,0,1,1,1,0,1,0,1,1,1,0,1,1,1,1,1,0,1,1,1,0,1,0,1,1,1,1,1,0,1,0,1,1,1,0,1,1,1,1,1,0,1,0,1,1,1,1,1,0,1,1,1,0,1,0,1,1,1,1,1,0,1,0,1,1,1,0,1,1,1,1,1,0,1,1,1,0,1,0,1,1,1,0,1,1,1,1,1,0,1,...
EXTRN output_X: near STK SEGMENT PARA STACK 'STACK' db 100 dup(0) STK ENDS DSEG SEGMENT PARA PUBLIC 'DATA' X db 'R' DSEG ENDS CSEG SEGMENT PARA PUBLIC 'CODE' assume CS:CSEG, DS:DSEG, SS:STK main: mov ax, DSEG mov ds, ax call output_X mov ax, 4c00h int 21h CSEG ENDS PUBLIC X END m...
; You may customize this and other start-up templates; ; The location of this template is c:\emu8086\inc\0_com_template.txt org 100h ; add your code here SK1 EQU 1 SK2 EQU 2 SK3 EQU 3 MOV AX, SK1 ADD AX, SK2 ADD AX, SK3 MOV BX, AX ret
; A282088: Binary representation of the x-axis, from the left edge to the origin, of the n-th stage of growth of the two-dimensional cellular automaton defined by "Rule 553", based on the 5-celled von Neumann neighborhood. ; 1,0,1,0,101,0,10101,0,1010101,0,101010101,0,10101010101,0,1010101010101,0,101010101010101,0,101...
// This file is a part of Julia. License is MIT: https://julialang.org/license #include "llvm-version.h" #include "platform.h" // target support #include <llvm/ADT/Triple.h> #include <llvm/Analysis/TargetLibraryInfo.h> #include <llvm/Analysis/TargetTransformInfo.h> #include <llvm/IR/DataLayout.h> #if JL_LLVM_VERSION ...
;; ;; Copyright (c) 2012-2020, Intel Corporation ;; ;; 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 the above copyright notice, ;; this list of conditions and...
SECTION code_clib PUBLIC bit_open_di PUBLIC _bit_open_di EXTERN bit_open EXTERN __snd_tick EXTERN __bit_irqstatus INCLUDE "games/games.inc" .bit_open_di ._bit_open_di ld a,($403B) ld (__bit_irqstatus),a and @01111111 ;Disable NMI (i.e. how interrupt...
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27027.1 TITLE C:\Users\DAG\Documents\_Clients\CodeProject Authors Group\Windows on ARM\libxml2\libxml2-2.9.9\error.c .686P .XMM include listing.inc .model flat INCLUDELIB MSVCRT INCLUDELIB OLDNAMES _DATA SEGMENT COMM _xmlMalloc:DWORD COMM _...
// =========================================================================== //---------------------------------------------------------------------------- //---------------------------------------------------------------------------- // SineAndGraphics Example for Kick Assembler adapted for k64ass //--------------...
; A036085: Centered cube numbers: (n+1)^7 + n^7. ; 1,129,2315,18571,94509,358061,1103479,2920695,6880121,14782969,29487171,55318979,98580325,168162021,276272879,439294831,678774129,1022558705,1506091771,2173871739,3081088541,4295446429,5899183335,7991296871,10689987049,14135325801,18492163379,23953281715,30742804821,39...
%define ARCH_ARM 0 %define ARCH_MIPS 0 %define ARCH_X86 1 %define ARCH_X86_64 0 %define HAVE_EDSP 0 %define HAVE_MEDIA 0 %define HAVE_NEON 0 %define HAVE_NEON_ASM 0 %define HAVE_MIPS32 0 %define HAVE_DSPR2 0 %define HAVE_MSA 0 %define HAVE_MIPS64 0 %define HAVE_MMX 1 %define HAVE_SSE 1 %define HAVE_SSE2 1 %define HAVE_...
namespace Heuristics { struct BSMemory { BSMemory(vector<uint8_t>& data, string location); explicit operator bool() const; auto manifest() const -> string; private: vector<uint8_t>& data; string location; }; BSMemory::BSMemory(vector<uint8_t>& data, string location) : data(data), location(location) { } BS...
.data c: .float 4.20 d: .float 42.0 .text main: la $t0, c l.s $f0, 0($t0) la $t0, d l.s $f1, 0($t0) c.le.s $f0, $f1 bc1t branch li $a0, 0 li $v0, 1 syscall branch: li $a0, 1 li $v0, 1 syscall
// Copyright 2008, Google Inc. // 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 the above copyright // notice, this list of conditions ...
; A029058: Expansion of 1/((1-x)(1-x^3)(1-x^9)(1-x^10)). ; 1,1,1,2,2,2,3,3,3,5,6,6,8,9,9,11,12,12,15,17,18,21,23,24,27,29,30,34,37,39,44,47,49,54,57,59,65,69,72,79,84,87,94,99,102,110,116,120,129,136,141,150,157,162,172,180 lpb $0 mov $2,$0 sub $0,3 seq $2,25791 ; Expansion of 1/((1-x)(1-x^9)(1-x^10)). add $1,...
10 ORG 100H 20 JP MAIN 30PUTSTR EQU 0BFF1H 40WAITK EQU 0BFCDH 50WSTSR EQU 0BFB2H 60MAIN: LD HL, S0 70 LD DE, 0 80 CALL PUTSTR 90 LD HL, S0 100 CALL STRLN 110 LD C,0 120 LD HL, S0 130 LD DE, S1 140 LDIR 150 LD HL, S0 160 CALL STRLN 170 LD HL, S1 180 CALL STRLN 190 LD HL, S1 200 LD DE, 0200H 210 CALL PUTSTR 220 CALL WAIT...
; ; int set_psg(int reg, int val); ; SECTION code_clib PUBLIC set_psg PUBLIC _set_psg EXTERN set_psg_callee EXTERN ASMDISP_SET_PSG_CALLEE set_psg: _set_psg: pop bc pop de pop hl push hl push de push bc jp set_psg_callee + ASMDISP_SET_PSG_CALLEE
; A036232: a(n+1) = a(n) + sum of digits of a(n) starting with 211. ; Submitted by Christian Krause ; 211,215,223,230,235,245,256,269,286,302,307,317,328,341,349,365,379,398,418,431,439,455,469,488,508,521,529,545,559,578,598,620,628,644,658,677,697,719,736,752,766,785,805,818,835,851,865,884,904,917,934 mov $2,$0 add...
#ifndef BOOST_MPL_AUX_LARGEST_INT_HPP_INCLUDED #define BOOST_MPL_AUX_LARGEST_INT_HPP_INCLUDED // Copyright Aleksey Gurtovoy 2000-2004 // // 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) // // See htt...
SECTION code_fp_math48 PUBLIC am48_dfix8u EXTERN am48_dfix16u, error_erange_mc am48_dfix8u: ; double to 8-bit unsigned integer (truncates) ; ; enter : AC' = double x ; ; exit : AC' = AC (AC saved in EXX set) ; ; success ; ; L = (unsigned int)(x) ; carry ...
IFDEF RAX ELSE .MODEL FLAT,C ENDIF SOME SEGMENT EXECUTE READ public justnop justnop: ret END
__________________________________________________________________________________________________ class Solution { public: vector<vector<int>> multiply(vector<vector<int>>& A, vector<vector<int>>& B) { vector<vector<int>> res(A.size(), vector<int>(B[0].size())); for (int i = 0; i < A.size(); ++i) {...
; A142521: Primes congruent to 29 mod 52. ; Submitted by Jon Maiga ; 29,601,653,757,809,1069,1277,1381,1433,1693,1901,2161,2213,2473,2837,3253,3461,3617,3877,3929,4241,4397,4657,4813,4969,5021,5281,5333,5437,5749,5801,6113,6217,6269,6373,6529,6581,6737,6841,6997,7309,7517,7621,7673,7829,7933,8089,8297,8609,8713,9181,93...
/**************************************************************************** * * Copyright (C) 2013-2016 PX4 Development Team. 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. Red...