text
stringlengths
1
1.05M
; A323921: a(n) = (4^(valuation(n, 4) + 1) - 1) / 3. ; 1,1,1,5,1,1,1,5,1,1,1,5,1,1,1,21,1,1,1,5,1,1,1,5,1,1,1,5,1,1,1,21,1,1,1,5,1,1,1,5,1,1,1,5,1,1,1,21,1,1,1,5,1,1,1,5,1,1,1,5,1,1,1,85,1,1,1,5,1,1,1,5,1,1,1,5,1,1,1,21,1,1,1,5,1,1,1,5,1,1,1,5,1,1,1,21,1,1,1,5 cal $0,234957 ; Highest power of 4 dividing n. mov $1,$0 d...
testing: MACRO db _NARG shift db _NARG shift db _NARG shift db _NARG shift db _NARG ENDM SECTION "Test output", ROM0 testing 1, 2, 3
; ; System Call for REX6000 ; ; $Id: syscall6p.asm,v 1.5 2002/04/17 21:30:25 dom Exp $ ; ; XLIB syscall6p .syscall6p ld ix,2 add ix,sp ld l,(ix+0) ;par 6 ld h,(ix+1) ld ($c00c),hl ld a,h ld hl,0 and a,$e0 ...
#include "stdafx.h" #include "EPLProxyJSDialogCallback.h" #include <proxy/ProxyBrowser.h> #include <proxy/ProxyFrame.h> #include <proxy/ProxyRequest.h> #include <proxy/ProxyResponse.h> #include <proxy/proxyValue.h> #include <proxy/proxyListValue.h> #include <proxy/ProxyDictionaryValue.h> #include <proxy/ProxyDOMNode.h>...
; A267446: Total number of ON (black) cells after n iterations of the "Rule 129" elementary cellular automaton starting with a single ON (black) cell. ; 1,1,2,2,7,10,15,15,28,39,52,59,76,87,100,100,129,156,185,208,241,268,297,312,353,388,425,448,489,516,545,545,606,665,726,781,846,905,966,1013,1086,1153,1222,1277,1350,...
COMMENT @---------------------------------------------------------------------- Copyright (c) GeoWorks 1994 -- All Rights Reserved PROJECT: PC GEOS MODULE: Desktop/Util FILE: cutilFileOpLow.asm ROUTINES: INT CopyMoveFileToDir - common routine to do high-level move/copy INT DeskFileCopy - copy file or ...
_stressfs: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "fs.h" #include "fcntl.h" int main(int argc, char *argv[]) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 83 e4 f0 and $0xfffffff0,%esp 6: 57 ...
/* * Copyright (c) 2013 Juniper Networks, Inc. All rights reserved. */ #include <boost/asio/ip/host_name.hpp> #include <fstream> #include <iostream> #include "base/contrail_ports.h" #include "base/logging.h" #include "base/misc_utils.h" #include "base/util.h" #include "cmn/buildinfo.h" #include "cmn/dns_options.h" ...
#include "../shared/shared.h" #include <algorithm> #include <iostream> #include "../shared/PackedGlyph.h" #include "../shared/ImageCodec.h" #ifdef _DEBUG #pragma comment(lib, "../Debug/shared.lib") #else #pragma comment(lib, "../Release/shared.lib") #endif // DEBUG using namespace Shared; void pushStringToByteArray(...
;/*! ; @file ; ; @ingroup fapi ; ; @brief DosSizeSeg DOS wrapper ; ; (c) osFree Project 2018, <http://www.osFree.org> ; for licence see licence.txt in root directory, or project website ; ; This is Family API implementation for DOS, used with BIND tools ; to link required API ; ; @author Yuri Prokushev ...
; Author: Arthur Eugenio Silverio ; Data: 11 / 02 / 2021 ; Compile with: yasm -f elf32 -o sys_input.o sys_input.asm ; Link with: ld -m elf_i386 sys_input.o -o sys_input %include 'string_include.asm' global _start section .text _start: mov eax, message1 call printstring mov eax, 3 ; call read sys_call ...
/*************************************************************************/ /* collision_polygon_2d_editor_plugin.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
build/dcache.elf: file format elf32-littleriscv Disassembly of section .crt_section: 80000000 <_start>: 80000000: 00000097 auipc ra,0x0 80000004: 0b408093 addi ra,ra,180 # 800000b4 <fail> 80000008 <test1>: 80000008: 00100e13 li t3,1 8000000c: 00100093 li ra,1 80000010: 0...
frame 1, 06 frame 2, 14 frame 3, 10 frame 2, 12 frame 3, 08 endanim
; A085260: Ratio-determined insertion sequence I(0.0833344) (see the link below). ; Submitted by Jon Maiga ; 1,12,155,2003,25884,334489,4322473,55857660,721827107,9327894731,120540804396,1557702562417,20129592507025,260127000028908,3361521407868779,43439651302265219,561353945521579068,7254161640478262665,93742747380695...
; A158771: a(n) = 78*n^2 - 1. ; 77,311,701,1247,1949,2807,3821,4991,6317,7799,9437,11231,13181,15287,17549,19967,22541,25271,28157,31199,34397,37751,41261,44927,48749,52727,56861,61151,65597,70199,74957,79871,84941,90167,95549,101087,106781,112631,118637,124799,131117,137591,144221,151007,157949,165047,172301,179711,18...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: MODULE: FILE: circlespref.asm AUTHOR: Adam de Boor, Dec 3, 1992 ROUTINES: Name Description ---- ----------- REVISION HISTORY: Name Date Descrip...
; A021589: Decimal expansion of 1/585. ; 0,0,1,7,0,9,4,0,1,7,0,9,4,0,1,7,0,9,4,0,1,7,0,9,4,0,1,7,0,9,4,0,1,7,0,9,4,0,1,7,0,9,4,0,1,7,0,9,4,0,1,7,0,9,4,0,1,7,0,9,4,0,1,7,0,9,4,0,1,7,0,9,4,0,1,7,0,9,4,0,1,7,0,9,4,0,1,7,0,9,4,0,1,7,0,9,4,0,1 add $0,1 mov $1,10 pow $1,$0 mul $1,7 div $1,4095 mod $1,10 mov $0,$1
# spec for mtc0 addi $s0, $zero, 233 mtc0 $s0, $12 addi $s0, $zero, 234 mtc0 $s0, $13 addi $s0, $zero, 235 mtc0 $s0, $14 # spec for mfc0 addi $s0, $zero, 0 mfc0 $s0, $12 mfc0 $s0, $13 mfc0 $s0, $14
<% from pwnlib.shellcraft.mips.linux import syscall %> <%page args="fd, cmd, vararg"/> <%docstring> Invokes the syscall fcntl. See 'man 2 fcntl' for more information. Arguments: fd(int): fd cmd(int): cmd vararg(int): vararg </%docstring> ${syscall('SYS_fcntl', fd, cmd, vararg)}
; A207449: Number of n X 4 0..1 arrays avoiding 0 0 0 and 0 0 1 horizontally and 0 0 1 and 1 0 1 vertically. ; 10,100,330,760,1450,2460,3850,5680,8010,10900,14410,18600,23530,29260,35850,43360,51850,61380,72010,83800,96810,111100,126730,143760,162250,182260,203850,227080,252010,278700,307210,337600,369930,404260,440650...
; A100173: Structured pentakis dodecahedral numbers (vertex structure 6). ; 1,32,148,404,855,1556,2562,3928,5709,7960,10736,14092,18083,22764,28190,34416,41497,49488,58444,68420,79471,91652,105018,119624,135525,152776,171432,191548,213179,236380,261206,287712,315953,345984,377860,411636,447367,485108,524914,566840,6109...
/** * Copyright (C) 2012 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...
; A120846: a(n) = 3^n + 2^n + n. ; 2,6,15,38,101,280,799,2322,6825,20204,60083,179206,535549,1602528,4799367,14381690,43112273,129271252,387682651,1162785774,3487832997,10462450376,31385253935,94151567458,282446313721,847322163900,2541932937219,7625731702742,22877060890445,68630914235824,205892205836503,617675543767626...
TITLE ALLOVTBL - Copyright (c) SLR Systems 1991 INCLUDE MACROS if any_overlays PUBLIC ALLOCATE_VECTOR_TABLE .DATA SOFT EXTW VECTOR_COUNT,VECTOR_SIZE,PUBALLOC_STUFF SOFT EXTD FIRST_MODULE .CODE MIDDLE_TEXT SOFT EXTP RETURN_LOWEST_SECTION,ERR_ABORT,RELEASE_MINIDATA SOFT EXTA TOO_MANY_VECTORS_ERR ...
.CODE STRINP PROC PUSH AX PUSH BX PUSH CX PUSH DX PUSH SI PUSH DI PUSH BP MOV BP, SP MOV SI, [BP + 14 + 4] MOV CX, [BP + 14 + 2] MOV AH, 01H STRINP_INPUT: INT 21H CMP AL, 13D JE STRINP_END MOV [SI], AL INC SI LOOP STRINP_INPUT ST...
;------------------------------------------------------------------------------ ;* ;* Copyright (c) 2018, Intel Corporation. All rights reserved.<BR> ;* This program and the accompanying materials ;* are licensed and made available under the terms and conditions of the BSD License ;* which accompanies this...
; Virusname: Ravage ; Origin: Sweden ; Author: Metal Militia ; This virus can be found with any anti-virus program, since it's been ; around for a while now. (SCAN/TB-SCAN/F-PROT/SOLOMON, that is..) ; It's a resident .COM and .EXE infector, without any encryption or ; stealth capabilities. It infects when you execu...
_init: file format elf32-i386 Disassembly of section .text: 00000000 <main>: printf(1,"\n"); } int main(void) { 0: 8d 4c 24 04 lea 0x4(%esp),%ecx 4: 83 e4 f0 and $0xfffffff0,%esp 7: ff 71 fc pushl -0x4(%ecx) a: 55 push %ebp b: 89 ...
#pragma once #include <tuple> #include <type_traits> #include <mgs/meta/concepts/constructible_from.hpp> #include <mgs/meta/concepts/convertible_to.hpp> #include <mgs/meta/detected.hpp> namespace mgs { namespace meta { template <typename T> struct is_move_constructible { using requirements = std::tuple<is_co...
#INCLUDE "./includes/ti83plus.inc" #define MINEBIT 4 #define COVEREDBIT 5 #define FLAGBIT 6 #define FLAGBITMASK 1 << FLAGBIT #define TILE_SIZE 5 #define BOARD_SIZE 192 #define MINE_TILE 9 #define FLAG_TILE 10 #define BIG_FLAG_TILE 11 #define COVERED_TILE 12 #define OPEN_EYE_TILE 13 #define DEAD_EYE_TILE 14 #define S...
NAME SHOW_MENU,EXIT PUBLIC SHOW_MENU,EXIT EXTERN SHOW_ALL:NEAR EXTERN SHOW_ICONS:NEAR EXTERN PRINT_NUM:NEAR EXTERN CAL_PROFIT:NEAR EXTERN SORT_PROFIT:NEAR EXTERN CLEAR_SCREEN:NEAR EXTERN S1:BYTE,GA1:BYTE,S2:BYTE,GB1:BYTE EXTERN MEN_ATTR:BYTE,ATTR_OFF:BYTE .386 STACK SEGMENT USE16 STACK 'STACK' DB 200 DUP(0) STACK ENDS...
section .text global _start _start: mov rax,1 /*! rax --> i */ mov rbx,2 /*! rbx --> j */ mov rcx,0 /*! tcx --> sum */ mov rax,rbx /*! i = j */ loop: cmp rax,5 /*! i < 5 */ je complete mov rdx,rax /*! rdx --> temp */ and rdx,1 /*! i % 2 == 0 */ jnz loop1 /*! if odd goto loop1 */ add rcx,rax /*! sum ...
; A315707: Coordination sequence Gal.5.295.3 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. ; 1,6,12,17,23,29,35,41,46,52,58,64,70,75,81,87,93,99,104,110,116,122,128,133,139,145,151,157,162,168,174,180,186,191,197,203,209,215,220,226,...
;/* ; * FreeRTOS Kernel V10.3.0 ; * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. ; * ; * 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 restri...
.586 .model flat .code _palindromo proc push ebp mov ebp,esp push ebx push esi push edi mov esi, 0 ; indice mov ecx, dword ptr [ebp + 8] ; stringa qui mov edx, 0 ; lunghezza call len sub edx, 1 mov esi, 0 call is_palindrome pop edi pop esi pop ebx mov esp, ebp pop ebp ret _pal...
; A021261: Decimal expansion of 1/257. ; 0,0,3,8,9,1,0,5,0,5,8,3,6,5,7,5,8,7,5,4,8,6,3,8,1,3,2,2,9,5,7,1,9,8,4,4,3,5,7,9,7,6,6,5,3,6,9,6,4,9,8,0,5,4,4,7,4,7,0,8,1,7,1,2,0,6,2,2,5,6,8,0,9,3,3,8,5,2,1,4,0,0,7,7,8,2,1,0,1,1,6,7,3,1,5,1,7,5,0 add $0,1 mov $2,10 pow $2,$0 div $2,257 mov $0,$2 mod $0,10
db 0 ; 454 DEX NO db 83, 106, 65, 85, 86, 65 ; hp atk def spd sat sdf db POISON, FIGHTING ; type db 75 ; catch rate db 181 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F50 ; gender ratio db 100 ; unknown 1 db 20 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/sinnoh/toxicroak/...
; A045756: Expansion of e.g.f. (1-9*x)^(-1/9), 9-factorial numbers. ; 1,1,10,190,5320,196840,9054640,498005200,31872332800,2326680294400,190787784140800,17361688356812800,1736168835681280000,189242403089259520000,22330603564532623360000,2835986652695643166720000,385694184766607470673920000,55925656791158083247718400000...
; A340266: The number of degrees of freedom in a quadrilateral cell for a serendipity finite element space of order n. ; 4,8,12,17,23,30,38,47,57,68,80,93,107,122,138,155,173,192,212,233,255,278,302,327,353,380,408,437,467,498,530,563,597,632,668,705,743,782,822,863,905,948,992,1037,1083,1130,1178,1227,1277 mov $2,$0 ...
; A000210: A Beatty sequence: floor(n*(e-1)). ; 1,3,5,6,8,10,12,13,15,17,18,20,22,24,25,27,29,30,32,34,36,37,39,41,42,44,46,48,49,51,53,54,56,58,60,61,63,65,67,68,70,72,73,75,77,79,80,82,84,85,87,89,91,92,94,96,97,99,101,103,104,106,108,109,111,113,115,116,118,120,121,123,125,127,128,130,132,134,135,137,139,140,142,144...
; stdio_in_lo ; 05.2008 aralbrec XLIB stdio_in_lo LIB stdio_incommon1, stdio_incommon3, asm_isodigit, stdio_ungetchar, stdio_inexit ; input %lo parameter, handles 16-bit %o and 32-bit %lo ; ; enter : ix = FILE * ; b = width ; c = flags [000a*WL0] ; hl = & parameter list ;...
.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+0x1c65e, %rdi nop nop and %r15, %r15 movups (%rdi), %xmm7 vpextrq $1, %xmm7, %r8 nop cmp $4708, %rax lea addresses_D_ht+0x173bc, %rbx clflush (%rbx) nop nop nop nop nop add %rc...
SECTION code_fp_math16 PUBLIC ___heq_callee PUBLIC _isunorderedf16_callee EXTERN cm16_sdcc___eq_callee defc ___heq_callee = cm16_sdcc___eq_callee defc _isunorderedf16_callee = cm16_sdcc___eq_callee
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r10 push %r12 push %r13 push %r8 push %rax push %rbx push %rcx // Load lea addresses_D+0x12609, %rcx nop add %r12, %r12 vmovups (%rcx), %ymm7 vextracti128 $0, %ymm7, %xmm7 vpextrq $1, %xmm7, %rbx nop nop nop nop nop sub $6...
object_const_def ; object_event constants const BATTLETOWEROUTSIDE_STANDING_YOUNGSTER const BATTLETOWEROUTSIDE_BUENA const BATTLETOWEROUTSIDE_SAILOR const BATTLETOWEROUTSIDE_LASS BattleTowerOutside_MapScripts: db 0 ; scene scripts db 2 ; callbacks callback MAPCALLBACK_TILES, .Callback1 callback MAPCALLBACK_O...
; A181303: Numbers of the form i*7^j-1 (i=1..6, j >= 0). ; 0,1,2,3,4,5,6,13,20,27,34,41,48,97,146,195,244,293,342,685,1028,1371,1714,2057,2400,4801,7202,9603,12004,14405,16806,33613,50420,67227,84034,100841,117648,235297,352946,470595,588244,705893,823542,1647085,2470628,3294171,4117714,4941257 mov $20,$0 mov $22,$0 l...
; void sp1_SetPrintPos(struct sp1_pss *ps, uchar row, uchar col) ; 05.2006 aralbrec, Sprite Pack v3.0 ; Sinclair Spectrum version SECTION code_clib SECTION code_temp_sp1 PUBLIC asm_sp1_SetPrintPos EXTERN asm_sp1_GetUpdateStruct asm_sp1_SetPrintPos: ; e = col ; d = row ; hl = struct sp1_pss *ps ld c,(hl) inc...
; A121627: Real part of a complex operation analogous to the factorials. ; Submitted by Jon Maiga ; 1,0,-12,-96,-480,0,40320,645120,5806080,0,-1277337600,-30656102400,-398529331200,0,167382319104000,5356234211328000,91055981592576000,0,-62282291409321984000,-2491291656372879360000,-52317124783830466560000,0 mov $1,1 a...
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r10 push %r15 push %r8 push %r9 push %rdi push %rdx push %rsi // Load mov $0x5aeab70000000912, %rsi nop nop nop nop and $55884, %rdx mov (%rsi), %r9 nop nop and $53781, %rdx // Load lea addresses_normal+0x48f6, %r15 nop n...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r13 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x7a4e, %r12 add $37320, %r11 mov $0x6162636465666768, %rax movq %rax, (%r12) nop nop nop nop nop cmp $35647, %rbx lea addresses_WC_ht+0x17536, %r13 nop nop nop nop ...
<% import collections import pwnlib.abi import pwnlib.constants import pwnlib.shellcraft %> <%docstring>sendto(fd, buf, n, flags, addr, addr_len) -> str Invokes the syscall sendto. See 'man 2 sendto' for more information. Arguments: fd(int): fd buf(void*): buf n(size_t): n flags(int): flags addr(...
/******************************************************************************* The content of this file includes portions of the AUDIOKINETIC Wwise Technology released in source code form as part of the SDK installer package. Commercial License Usage Licensees holding valid commercial licenses to the AUDIOKINETIC W...
; ; Philips VG-5000 pseudo graphics routines ; Version for the 2x3 graphics symbols ; ; Stefano Bodrato 2015 ; ; ; Xor pixel at (x,y) coordinate. ; ; ; $Id: xorpixl.asm,v 1.3 2016/07/02 09:01:36 dom Exp $ ; INCLUDE "graphics/grafix.inc" SECTION code_clib PUBLIC xorpixel EXTERN d...
/* * CGuiBackground.mm * MobiTracker * * Created by Marcin Skoczylas on 10-01-07. * Copyright 2010 Marcin Skoczylas. All rights reserved. * */ #define DEFAULT_LABEL_ZOOM 1.0 #include "CGuiBackground.h" #include "VID_Main.h" #include "CGuiMain.h" CGuiBackground::CGuiBackground(CSlrImage *image, float posX,...
SECTION code_fp_math48 PUBLIC _ilogb EXTERN cm48_sdcciy_ilogb defc _ilogb = cm48_sdcciy_ilogb
/****************************************************************************** * * * ********** * * ************ ...
@ This file was created from a .asm file @ using the ads2gas.pl script. .equ DO1STROUNDING, 0 .equ ARCH_ARM , 0 .equ ARCH_MIPS , 0 .equ ARCH_X86 , 0 .equ ARCH_X86_64 , 0 .equ HAVE_EDSP , 0 .equ HAVE_MEDIA , 0 .equ HAVE_NEON , 0 .equ HAVE_NEON_ASM , 0 .equ HAVE_MIPS32 , 0 .equ HAVE_DSPR2 , 0 .equ HAVE_MSA , ...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: CSV MODULE: Import FILE: importFile.asm AUTHOR: Ted H. Kim, 3/25/92 ROUTINES: Name Description ---- ----------- TransGetFormat Determines if the file ...
; A053833: Sum of digits of n written in base 13. ; 0,1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11,12,13,2,3,4,5,6,7,8,9,10,11,12,13,14,3,4,5,6,7,8,9,10,11,12,13,14,15,4,5,6,7,8,9,10,11,12,13,14,15,16,5,6,7,8,9,10,11,12,13,14,15,16,17,6,7,8,9,10,11,12 mov $1,$0 mov $2,$0 mov $4,$0 lpb $2,1 add $3,1 add $5,1 ...
; void __CALLEE__ sp1_PutTilesInv_callee(struct sp1_Rect *r, struct sp1_tp *src) ; 03.2006 aralbrec, Sprite Pack v3.0 ; sinclair spectrum version PUBLIC sp1_PutTilesInv_callee PUBLIC ASMDISP_SP1_PUTTILESINV_CALLEE EXTERN sp1_GetUpdateStruct_callee EXTERN ASMDISP_SP1_GETUPDATESTRUCT_CALLEE EXTERN SP1V_DISPWIDTH, SP1V_...
;-------------------------------------------------------- ; File Created by SDCC : free open source ANSI-C Compiler ; Version 4.1.6 #12419 (Linux) ;-------------------------------------------------------- ; Processed by Z88DK ;-------------------------------------------------------- EXTERN __divschar EXTERN __divsc...
; Z88 Small C+ Run time Library ; Moved functions over to proper libdefs ; To make startup code smaller and neater! ; ; 6/9/98 djm SECTION code_clib SECTION code_l_sccz80 PUBLIC l_sub l_sub: ; HL = DE - HL ex de,hl or a sbc hl,de ret
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r15 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x12a4e, %r13 nop nop nop nop nop add $45430, %rbp mov (%r13), %rbx lfence lea addresses_normal_ht+0x157d2, %rsi lea addresses_UC_ht+0x1b39f, %rdi nop nop nop nop xor %r15, %r15 mov $25...
; A016962: a(n) = (6*n + 4)^6. ; 4096,1000000,16777216,113379904,481890304,1544804416,4096000000,9474296896,19770609664,38068692544,68719476736,117649000000,192699928576,304006671424,464404086784,689869781056,1000000000000,1418519112256,1973822685184,2699554153024,3635215077376,4826809000000,6327518887936,8198418170944...
_forktest: file format elf32-i386 Disassembly of section .text: 00000000 <main>: printf(1, "fork test OK\n"); } int main(void) { 0: 8d 4c 24 04 lea 0x4(%esp),%ecx 4: 83 e4 f0 and $0xfffffff0,%esp 7: ff 71 fc pushl -0x4(%ecx) a: 55 push...
; A265204: Sum of phi(i) over squarefree numbers i <= n. ; Submitted by Christian Krause ; 1,2,4,4,8,10,16,16,16,20,30,30,42,48,56,56,72,72,90,90,102,112,134,134,134,146,146,146,174,182,212,212,232,248,272,272,308,326,350,350,390,402,444,444,444,466,512,512,512,512,544,544,596,596,636,636,672,700,758,758,818,848,848,84...
TITLE INIPROC - Copyright (c) SLR Systems 1994 INCLUDE MACROS INCLUDE IO_STRUC PUBLIC SCAN_SC_INI EXTERNDEF OBJSTUFF:DWORD,PATHSTUFF:DWORD .DATA EXTERNDEF INBUF:BYTE,OUTBUF:BYTE,PARSE_TABLE:BYTE,SYMBOL_TEXT:BYTE EXTERNDEF CURN_FILE_LIST_GINDEX:DWORD,INPTR1:DWORD,CURN_COUNT:DWORD,ME_PTR:DWORD,CURN...
; A309574: n-th prime minus its ternary (base 3) reversal. ; 0,2,-2,2,-8,0,-8,8,0,-26,-6,6,-26,-6,-14,-26,-6,14,26,-6,38,26,-80,-128,-48,-80,-24,-128,24,-80,24,-80,-32,24,-56,0,24,80,-24,0,-48,80,24,80,-24,104,80,80,48,104,0,24,80,-398,-338,-278,-434,18,-138,-242,-78,-338,18,-302,-138,-242,-78,-18,-278,-114,-146,-302,-...
; A271870: Convolution of nonzero hexagonal numbers (A000384) with themselves. ; 1,12,66,236,651,1512,3108,5832,10197,16852,26598,40404,59423,85008,118728,162384,218025,287964,374794,481404,610995,767096,953580,1174680,1435005,1739556,2093742,2503396,2974791,3514656,4130192,4829088,5619537,6510252,7510482,8630028 mul ...
; =============================================================== ; May 2017 ; =============================================================== ; ; uchar *tshc_aaddr2saddr(void *aaddr) ; ; Attribute address to screen address. ; ; =============================================================== SECTION code_clib SECTION ...
TITLE: Strings.asm COMMENT ! This program receives an unsigned integer N from the user. It then generates N number of strings containing a set of random ascii codes. After each string is generated, it's written to the screen in a random color. ! INCLUDE Irvine32.inc .data clearEAX TEXTEQU <MOV eax, 0> clearEDX TEX...
; A229759: Decimal expansion of (25-10*sqrt(5))/2. ; Submitted by Christian Krause ; 1,3,1,9,6,6,0,1,1,2,5,0,1,0,5,1,5,1,7,9,5,4,1,3,1,6,5,6,3,4,3,6,1,8,8,2,2,7,9,6,9,0,8,2,0,1,9,4,2,3,7,1,3,7,8,6,4,5,5,1,3,7,7,2,9,4,7,3,9,5,3,7,1,8,1,0,9,7,5,5,0,2,9,2,7,9,2,7,9,5,8,1,0,6,0,8,8,6,2,5 mov $3,$0 add $3,2 mul $3,4 lpb $3...
.size 8000 .text@100 jp lbegin .data@143 80 .text@150 lbegin: xor a, a ldff(26), a ld a, 80 ldff(26), a ld a, 77 ldff(24), a ld a, 11 ldff(25), a ld a, c0 ldff(11), a ld a, 80 ldff(12), a ld a, c0 ldff(13), a ld a, 87 ldff(14), a ld b, 41 lwaitpos: dec b jrnz lwaitpos ld a, 80 lmodulate: xor a...
#include <cstring> #include <fcntl.h> #include <iostream> #ifdef _WIN32 #include <Dshow.h> #elif __gnu_linux__ #include <libv4l2.h> #include <sys/mman.h> #include <linux/videodev2.h> //#elif __ANDROID__ #endif #include "ArcV/Utils/Webcam.hpp" namespace Arcv { Webcam::Webcam(unsigned int width, unsi...
; A009947: Sequence of nonnegative integers, but insert n/2 after every even number n. ; 0,0,1,2,1,3,4,2,5,6,3,7,8,4,9,10,5,11,12,6,13,14,7,15,16,8,17,18,9,19,20,10,21,22,11,23,24,12,25,26,13,27,28,14,29,30,15,31,32,16,33,34,17,35,36,18,37,38,19,39,40,20,41,42,21,43,44,22,45,46,23,47,48,24,49,50,25,51,52,26,53,54,27,55...
; In this program we use a base register and an index register times a ; scale factor for addressing memory. section .data a_byte: dw 0x0f, 0x0e, 0x0d, 0x0c section .text global asm_func asm_func: lea rbx, [rel a_byte] ; The LEA instruction loads an address calculated ; between the...
;; ;; Copyright (c) 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 the ...
; A321171: a(n) is the total number of 1's in binary that n shares with the positive integers less than n. ; Submitted by Christian Krause ; 0,0,2,0,3,4,9,0,5,6,13,8,16,18,28,0,9,10,21,12,24,26,40,16,30,32,48,36,53,56,75,0,17,18,37,20,40,42,64,24,46,48,72,52,77,80,107,32,58,60,88,64,93,96,127,72,103,106,139,112,146,150...
; A017398: a(n) = (11*n)^10. ; 0,25937424601,26559922791424,1531578985264449,27197360938418176,253295162119140625,1568336880910795776,7326680472586200649,27850097600940212224,90438207500880449001,259374246010000000000,672749994932560009201,1605976966052654874624,3575694237941010577249,7502520803928269464576,14956826027...
; A277954: Decimal 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 14", based on the 5-celled von Neumann neighborhood. ; 1,3,6,14,26,58,106,234,426,938,1706,3754,6826,15018,27306,60074,109226,240298,436906,961194,174...
; Z88 Small C+ Run Time Library ; Long functions ; PUBLIC l_long_ult EXTERN l_long_ucmp ; ;......logical operations: HL set to 0 (false) or 1 (true) ; ; DE < HL [unsigned] .l_long_ult call l_long_ucmp ret c dec hl ret ...
; A332919: a(n) is the sum of the sums of squared digits of all n-digit numbers. ; 285,5415,79800,1054500,13110000,156750000,1824000000,20805000000,233700000000,2593500000000,28500000000000,310650000000000,3363000000000000,36195000000000000,387600000000000000,4132500000000000000,43890000000000000000,4645500000000000000...
db 0 ; species ID placeholder db 45, 45, 35, 20, 20, 30 ; hp atk def spd sat sdf db BUG, BUG ; type db 255 ; catch rate db 54 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F50 ; gender ratio db 100 ; unknown 1 db 15 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/wurmple/front....
// push constant 0 and pop local 0 inplace @0 D=A @SP AM=M+1 A=A-1 M=D @LCL D=M @R13 M=D @SP AM=M-1 D=M @R13 A=M M=D // label LOOP_START ($LOOP_START) // push argument 0 @ARG A=M D=M @SP AM=M+1 A=A-1 M=D // push local 0 @LCL A=M D=M @SP AM=M+1 A=A-1 M=D // add @SP AM=M-1 D=M @SP A=M-1 M=D+M // pop local 0 @LCL D=M @R13...
;; ;; 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...
bits 32 %define KERNEL_CODE_DESC 0x08 %define KERNEL_DATA_DESC 0x10 %define USER_CODE_DESC 0x1B %define USER_DATA_DESC 0x23 %define TSS_DESC 0x2B ; bool sse_init() [global init_sse] init_sse: push ebp mov ebp, esp ; save ebx since cpuid changes it push ebx ; check the cpuid if sse is supported ...
; A194144: Sum{floor(j*(-1+sqrt(5)) : 1<=j<=n}; n-th partial sum of Beatty sequence for -1+sqrt(5). ; Submitted by Jamie Morken(s1) ; 1,3,6,10,16,23,31,40,51,63,76,90,106,123,141,160,181,203,226,250,275,302,330,359,389,421,454,488,523,560,598,637,677,719,762,806,851,897,945,994,1044,1095,1148,1202,1257,1313,1371,1430,1...
.code .const szFasmString db '"',0,0,0 .code FasmDestroyString proc lpMem:DWORD mov eax,lpMem movzx ecx,byte ptr [eax] mov ch,cl inc eax .while byte ptr [eax]!=0 && byte ptr [eax]!=VK_RETURN mov dx,[eax] .if dx==cx mov word ptr [eax],' ' lea eax,[eax+2] .else in...
/* This file is a part of libcds - Concurrent Data Structures library (C) Copyright Maxim Khizhinsky (libcds.dev@gmail.com) 2006-2016 Source code repo: http://github.com/khizmax/libcds/ Download: http://sourceforge.net/projects/libcds/files/ Redistribution and use in source and binary forms, with...
//////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2016-2019, Intel Corporation // // 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 re...
.ORIG x3000 LD R5,M100 ECHOZ LD R0,ASCIIZ TRAP x21 ;TRAP指令会影响R1 R7 ADD R5,R5,#1 BRn ECHOZ HALT ASCIIZ .FILL x005A; Z M100 .FILL xFF9C; -100 .END
SECTION rodata_font SECTION rodata_font_fzx PUBLIC _ff_dkud2_Academy _ff_dkud2_Academy: BINARY "font/fzx/fonts/dkud2/Academy/academy.fzx"
/** * MIT License * * Copyright (c) 2016 Ethan Bierlein * * 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 without limitation the rights * to use...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r15 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x74f6, %rbx sub $39697, %rdx mov (%rbx), %r15w nop nop nop cmp $44276, %rdi lea addresses_WT_ht+0xc4f6, %rax nop nop inc %r11 vmovups (%rax), %ymm0 vextracti128 $0,...
/* Test ensure_stores (C) 2018 - 2019 Niall Douglas <http://www.nedproductions.biz/> (4 commits) 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 in the accompanying file Licence.txt or at http://...
; A048478: a(n) = T(6,n), array T given by A048472. ; 1,8,29,85,225,561,1345,3137,7169,16129,35841,78849,172033,372737,802817,1720321,3670017,7798785,16515073,34865153,73400321,154140673,322961409,675282945,1409286145,2936012801,6106906625,12683575297,26306674689,54492397569,112742891521,233001975809,481036337153,99213...
;* ;* COW : Character Oriented Windows ;* ;* ldseg.asm : segment loader .xlist include kernel.inc include galloc.inc include rlb.inc ;* relocation info .list IFDEF DEBPUB PUBLIC OpenSwapFile ENDIF sBegin DATA assumes DS,DGROUP externW <psLom> externW <fColorModeOld> ;* last color mode IFNDEF...
; A033570: Pentagonal numbers with odd index: a(n) = (2*n+1)*(3*n+1). ; 1,12,35,70,117,176,247,330,425,532,651,782,925,1080,1247,1426,1617,1820,2035,2262,2501,2752,3015,3290,3577,3876,4187,4510,4845,5192,5551,5922,6305,6700,7107,7526,7957,8400,8855,9322,9801,10292,10795,11310,11837,12376,12927,13490,14065,14652,15251,1...
; BeepFX sound effect by shiru ; http://shiru.untergrund.net SECTION rodata_sound_bit PUBLIC _bfx_34 _bfx_34: ; Switch_1 defb 2 ;noise defw 1,1000,4 defb 1 ;tone defw 1,1000,2000,0,128 defb 0